Home | Trees | Indices | Help |
|
---|
|
The classes defined in this module should correspond 1-to-1 to the specifications in the PamFax API docs. See the link below for more info:
https://sandbox-apifrontend.pamfax.biz/summary/processors/
Users should not need to instantiate this class in applications using PamFax. Instead, just call the action directly on the PamFax object, and it will be delegated to the correct processor automatically.
|
|||
Common Class encapsulating common actions for the PamFax API |
|||
FaxHistory Class encapsulating actions related to fax history for this account |
|||
FaxJob Class encapsulating a specific fax job |
|||
NumberInfo Class encapsulating information for a given fax number |
|||
OnlineStorage Class encapsulating actions related to online storage |
|||
Session Class encapsulating a PamFax session |
|||
Shopping Class encapsulating shopping options available through PamFax |
|||
UserInfo Class encapsulating user info |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
IP_ADDR =
|
|||
USER_AGENT =
|
|||
ORIGIN =
|
|||
CONTENT_TYPE =
|
|||
CONTENT_TYPE_JSON =
|
|||
__package__ =
|
|
Construct the URL that corresponds to a given action. All kwargs whose value is None are filtered out. Arguments: base_url -- The base of the URL corresponding to the PamFax processor name action -- The PamFax method to append to the base URL api_credentials -- The API credentials including user token extracted from /Session/VerifyUser Keyword arguments: **kwargs -- optional HTTP parameters to send to the PamFax URL |
Wait for the HTTP response and throw an exception if the return status is not OK. Return either a dict based on the HTTP response in JSON, or if the response is not in JSON format, return a tuple containing the data in the body and the content type. |
Encode multipart form data per mime spec and return (content_type, body) Arguments: fields -- A sequence of (name, value) elements for regular form fields. files -- A sequence of (name, filename, value) elements for data to be uploaded as files |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Sep 21 21:30:31 2011 | http://epydoc.sourceforge.net |