Skip to content

Instantly share code, notes, and snippets.

@tfogo
Last active January 23, 2017 11:32
Show Gist options
  • Select an option

  • Save tfogo/232093b1e40f0c3ff3e71ccde11d2027 to your computer and use it in GitHub Desktop.

Select an option

Save tfogo/232093b1e40f0c3ff3e71ccde11d2027 to your computer and use it in GitHub Desktop.
Example of data from the available numbers resource
{ available_phone_numbers:
[ { friendly_name: '(650) 399-9040',
phone_number: '+16503999040',
lata: '722',
rate_center: 'REDWOOD CY',
latitude: '37.485200',
longitude: '-122.236400',
region: 'CA',
postal_code: '94062',
iso_country: 'US',
address_requirements: 'none',
beta: false,
capabilities: [Object],
friendlyName: '(650) 399-9040',
phoneNumber: '+16503999040',
rateCenter: 'REDWOOD CY',
postalCode: '94062',
isoCountry: 'US',
addressRequirements: 'none' },
// ... 28 more responses ...
{ friendly_name: '(650) 492-4440',
phone_number: '+16504924440',
lata: '722',
rate_center: 'LOS ALTOS',
latitude: '37.385200',
longitude: '-122.114100',
region: 'CA',
postal_code: '94022',
iso_country: 'US',
address_requirements: 'none',
beta: false,
capabilities: [Object],
friendlyName: '(650) 492-4440',
phoneNumber: '+16504924440',
rateCenter: 'LOS ALTOS',
postalCode: '94022',
isoCountry: 'US',
addressRequirements: 'none' } ],
uri: '/2010-04-01/Accounts/<your-account-sid>/AvailablePhoneNumbers/US/Local.json?AreaCode=650',
availablePhoneNumbers:
[
// Exactly the same data that's in available_phone_numbers
] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment