razpeitia/mobile-framework
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
==================
MOBILE API SUMMARY
==================
Details:
* api_ prefix, maps to specific function.
* _(), maps to URLs.
* response are json.
* each api call need clientID and accessToken (except first call of api_init)
* SecretKey is given on client registration, used for signature/validation
process and never passed through network. store the SecretKey.
* accessToken is given on client registration, used to authenticate user loged in.
should be stored and updated after login/logout process.
* request are signed, unless not specified with a `signed` keyword.
* api.php, central entry for all request
API usage example in main.py
Execution example:
$ python main.py
Requirements:
python 2.7
Dependencies:
requests 0.11.1