simpleapi’s client library.
Parameters: |
|
---|
changes the URL for the Route’s endpoint
uses a different version for further requests
This singleton takes care of all registered formatters. You can easily register your own formatter for use in both the Namespace and python client.
Register the given formatter. If there’s already an formatter with the given name, you can override by setting override to True.
Baseclass for Formatter-implementations
Takes care of the building process and returns the encoded data.
Is called within simpleapi. This method invokes both the parse and build function when needed.
Takes care of the parsing proccess and returns the decoded data.
Formatter for the JSON-format. Used by default by the python client and by many Javascript-Frameworks.
Formatter for JSONP-format. Used for cross-domain requests. If callback isn’t provided, simpleapiCallback is used.
Basic formatter for simple, fast and tiny transports (it has a lot of limitations, though).
Formatter for use the cPickle python module which supports python object serialization. It has the fewest limitations (ie. it can also serialize datetime objects), but is a security risk and should only be used in a trusted environment. It’s strongly recommended that you use authentication mechanismen to protect your namespace. The formatter is not activated by default and can be enabled by putting ‘pickle’ into Namespace’s __input__ and __output__ configuration.
This singleton takes care of all registered wrappers. You can easily register your own wrapper for use in both the Namespace and python client.
Register the given wrapper
The baseclass wrapper you can use as a basis for your own wrapper