An asynchronous Python client for accessing the100.io API. All GET endpoints that are currently exposed are supported by The100. Those can be seen in the100.io's official documentation here.
Here are some examples of The100 in action (assuming this code is running in an event loop):
import the100
api = the100.The100('your-api-key')
json = await api.get_user('example')
api.close()
import the100
api = the100.The100('your-api-key')
json = await await api.get_group(1234)
api.close()
import the100
api = the100.The100('your-api-key')
json = await api.get_group_gaming_sessions(1234)
api.close()
- Python 3.6+
aiohttp
library