Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 830 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 830 Bytes

The100

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):

Getting a User

import the100

api = the100.The100('your-api-key')
json = await api.get_user('example')
api.close()

Getting a Group

import the100

api = the100.The100('your-api-key')
json = await await api.get_group(1234)
api.close()

Getting a Group's Gaming Sessions

import the100

api = the100.The100('your-api-key')
json = await api.get_group_gaming_sessions(1234)
api.close()

Dependencies

  • Python 3.6+
  • aiohttp library