2016-12-08 1 views
-1

Twilio 계정을 처음 사용하고 내 계정의 트레일 번호를 찾지 못했지만 찾을 수 없습니다.Twilio 계정 트레일 번호

단계/링크를 찾으려면 도움을 얻을 수 있습니까? 발라지

+0

[Twilio 콘솔의 수신 번호] 섹션 (https://www.twilio.com/console/phone-numbers/incoming)을 확인 했습니까? – philnash

+0

@philnash, 답변 해 주셔서 감사합니다. 시험판을 받으려면 'Buy a Number'섹션에서 시도했습니다. 나는 그것이이 질문을 게시하게 한 진짜 구매라고 생각했다. –

+0

평가판 계정에서 하나의 번호를 구입할 수 있으며 시험 사용 기간 동안 비용이 들지 않습니다. – philnash

답변

0

이 질문은 당신에게 어떻게 trial works의 개요를 제공

감사합니다. 당신이 "구매"평가판 번호 (그것은 당신에게 당신의 시험 기간 동안 아무것도 비용이되지 않습니다) 일단

, 당신은 make calls 할 수 있습니다

# Download the Python helper library from twilio.com/docs/python/install 
from twilio.rest import TwilioRestClient 

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

call = client.calls.create(url="http://demo.twilio.com/docs/voice.xml", 
    to="+1XXXXXXXXXX", # Number verified with Twilio for trial account. 
    from_="+1XXXXXXXXXX") 

print(call.sid) 

send sms 테스트.

from twilio.rest import TwilioRestClient 

# put your own credentials here 
ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 
AUTH_TOKEN = "your_auth_token" 

client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN) 

client.messages.create(
    to="+1XXXXXXXXXX", # Number verified with Twilio for trial account. 
    from_="+1XXXXXXXXXX", 
    body="This is the ship that made the Kessel Run in fourteen parsecs?", 
    media_url="https://c1.staticflickr.com/3/2899/14341091933_1e92e62d12_b.jpg" 

) 
관련 문제