The Python Client for Hyphenate Services is for use in server applications on a proxy server, aka, your developer server. Client library serves as a wrapper layer on top of raw REST APIs that allows you to deploy on your server and make APIs requests. See Hyphenate APIs.
This library is open source. We encourage you to contribute to make the code base better! If you encountered any bug or feature suggestion, please submit an issue or email support@hyphenate.io for urgent fixes.
- Hyphenate API key. learn more or create one.
- Java 1.7 or later. Latest version of the Java.
Update Hyphenate app configurations in configs.py
under hyphenateserver
folder.
api_host = 'https://api.hyphenate.io'
app_key = 'hyphenatedemo#demo'
app_credentials = {
'client_id': 'YXA68E7DkM4uEeaPwTPbScypMA',
'client_secret': 'YXA63_RZdbtXQB9QZsizSCgMC70_4Rs'
}
Keystore Generation with public site certificate
By default, requests are sent at the expected rate limits for each web service, typically 30 queries per second for free users.
Each IP address is limited to 30 requests per second. Requests beyond this limit will receive a 429 or 503 error. If you received this error, please reduce the request frequency and try again.
Please contact Hyphenate info@hyphenate.io if you need higher request rate.
You can use Atom or any Python IDE you prefer to the run the project.
We're using Python unit testing framework unittest
. learn more
$ python -m unittest discover