im having difficulties with the phonenumbers module in python. im trying to access the carrier info associated with phone numbers, but when i run the script it wont show. i can get other aspects of the phonenumbers module to work such as geocode to specify the state the area code belongs to but i cant retrieve carrier info. any help is appreciated.
for example:
import phonenumbers
from phonenumbers import geocoder, carrier
pN = phonenumbers.parse("+16153301448")
C = carrier.name_for_number(pN, 'en')
R = geocoder.description_for_number(pN, 'en')
print(C)
print(R)
for example:
import phonenumbers
from phonenumbers import geocoder, carrier
pN = phonenumbers.parse("+16153301448")
C = carrier.name_for_number(pN, 'en')
R = geocoder.description_for_number(pN, 'en')
print(C)
print(R)