Finished translating the api for Checkinchat from pure PHP to Python Web2Py