Number Lookup Sample

A command line console application that provides access to the number lookup facility of the Aculab Cloud Web Services API.

Usage

python number_lookup [--wsserver <cloudWebServerAddress>] <cloudId> <username> <apiAccessKey> <command>

Arguments

cloudWebServerAddress

The address of the cloud web server. By default the wrappers call web services on https://ws-<cloudId>.aculabcloud.net. In certain circumstances you may need to use a different address which you can set here.

cloudId

Cloud region id (e.g. 1-2-0)

username

Cloud account username

apiAccessKey

Cloud API Access key

command

One of the following...

check <phoneNumber>

where:

phoneNumber

The phone number to check, in international format

Examples

  1. Look up a telephone number

    python number_lookup 1-2-0 bob@acompany.com 6b4UmwoOPxjeI2M76aebfQ check 17344124733