Skip to content

An asynchronous Python client for accessing the100.io API

License

Notifications You must be signed in to change notification settings

henworth/the100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An asynchronous Python client for accessing the100.io API

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages