<gh_stars>1-10
# NOTE: This example uses the next generation Twilio helper library - for more
# information on how to download and install this version, visit
# https://www.twilio.com/docs/libraries/python
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account = "<KEY>"
token = "your_<PASSWORD>"
client = Client(account, token)

service = client.notify.services("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").update(
    friendly_name="Another Awesome Service",
    facebook_messenger_page_id="your_page_id",
    messaging_service_sid="your_twilio_messaging_service_sid"
)

print(service.friendly_name)

# NOTE: This example uses the next generation Twilio helper library - for more
# information on how to download and install this version, visit
# https://www.twilio.com/docs/libraries/python
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account = "<KEY>"
token = "your_<PASSWORD>"
client = Client(account, token)

service = client.notify.services("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").update(
    friendly_name="Another Awesome Service",
    facebook_messenger_page_id="your_page_id",
    messaging_service_sid="your_twilio_messaging_service_sid"
)

print(service.friendly_name)
# NOTE: This example uses the next generation Twilio helper library - for more # information on how to download and install this version, visit # https://www.twilio.com/docs/libraries/python # Your Account Sid and Auth Token from twilio.com/user/account