Package pamfax :: Package processors :: Class NumberInfo
[hide private]
[frames] | no frames]

Class NumberInfo

source code

Class encapsulating information for a given fax number

Instance Methods [hide private]
 
__init__(self, api_credentials, http)
Instantiates the NumberInfo class
source code
 
get_number_info(self, faxnumber)
Get some information about a fax number.
source code
 
get_page_price(self, faxnumber)
Calculate the expected price per page to a given fax number.
source code
Method Details [hide private]

get_number_info(self, faxnumber)

source code 

Get some information about a fax number.

Result contains zone, type, city, ... Validates and corrects the number too.

Arguments: faxnumber -- The faxnumber to query (incl countrycode: +12139851886, min length: 8)

get_page_price(self, faxnumber)

source code 

Calculate the expected price per page to a given fax number.

Use GetNumberInfo when you do not need pricing information, as calculating expected price takes longer then just looking up the info for a number.

Arguments: faxnumber -- The faxnumber to query (incl countrycode: +12139851886, min length: 8). Login user first to get personalized prices.