Posted on stackoverflow also
Hi Juri,
Thank you for using libphonenumber and mailing us on this.
You can make use of APIs in PhoneNumberOfflineGeocoder to know the geocoding values.
Sample code is present in libphonenumber GitHub page.
For US, the geocoding details are in “area name, state name” format.
Demo link: https://libphonenumber.appspot.com/phonenumberparser?number=%2B12012000000
As mentioned by David the format is not consistent for few prefixes.
Thanks & Regards,
Aravind
--
You received this message because you are subscribed to the Google Groups "libphonenumber-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libphonenumber-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to libphonenumber-discuss+unsubscri...@googlegroups.com.
--Thanks & Regards,Aravind