Last active
September 25, 2015 07:33
-
-
Save twilioforkwc/d61f13d9798ed497d76a 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
<?php | |
require_once('../Services/Twilio.php'); // Loads the library | |
$sid = "ACxxxxxxxxx"; | |
$token = "xxxxxxxxxxxxxxxx"; | |
$client = new Services_Twilio($sid, $token); | |
$numbers = $client->account->available_phone_numbers->getList('JP', 'Local', array( | |
"Contains" => "+8150*******" | |
)); | |
foreach($numbers->available_phone_numbers as $number) { | |
echo $number->phone_number . "\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment