<|file_name|>lookup-get-cname-example-1.6.x.py<|end_file_name|><｜fim▁begin｜># Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACCOUNT_SID"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

number = client.lookups.phone_numbers("+16502530000").fetch(
    type="caller-name",
)
<｜fim▁hole｜><｜fim▁end｜>
print(number.carrier['type'])
print(number.carrier['name'])