Created
December 2, 2012 02:33
-
-
Save kevinburke/4186664 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Twilio; | |
class Example | |
{ | |
static void Main(string[] args) | |
{ | |
// Find your Account Sid and Auth Token at twilio.com/user/account | |
string AccountSid = "AC58f1e8f2b1c6b88ca90a012a4be0c279"; | |
string AuthToken = "456bef"; | |
var twilio = new TwilioRestClient(AccountSid, AuthToken); | |
var numbers = twilio.ListIncomingPhoneNumbers("+19252717005", "kevin", null, 3); | |
foreach (var number in numbers.IncomingPhoneNumbers) | |
{ | |
Console.WriteLine(number.VoiceUrl); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment