Methods

Objects

list

List static items.

Method Description
list.countries Country list.
list.destinations Billing destinations list
list.number_infos Retrive informations on a specific phone number.
list.timezones Timezone list.

Methods

list.countries

Description

Country list.

Signature

method: list.countries

params: []

Parameters

No parameters.

Result

Type Description Format/Object
object Dictionary of countries (key/value).
The key (type string) is a country code (ISO 3166-1 alpha-2 country code, example: "US").
Value is the country object.
Object: Country

list.destinations

Description

Billing destinations list

Signature

method: list.destinations

params: []

Parameters

No parameters.

Result

Type Description Format/Object
array Billing destinations (object)

list.number_infos

Description

Retrive informations on a specific phone number.

Signature

method: list.number_infos

params: [string number]

Parameters

Parameter Type Description NULL
number string Phone number to inspect. NO

Result

Type Description Format/Object
object Number inspection. Object: NumberInfos

list.timezones

Description

Timezone list.

Signature

method: list.timezones

params: []

Parameters

No parameters.

Result

Type Description Format/Object
object Dictionary of timezones (key/value).
The key (type int) is a timezone ID. The value is a Timezone object.
Object: Timezone