Python API wrapper for masterblaster.gg
Project description
Masterblaster.py
Latest
Beta
Python API wrapper for masterblaster.gg
Installation
$ python -m pip install masterblaster.py
Usage
Masterblaster.py is a python API wrapper for the masterblaster.gg API. It allows you to easily access the data from the API and use it in your own projects. I.e.:
import asyncio
import masterblaster
async def main():
async with masterblaster.MasterBlaster("MY-TOKEN-HERE","MY-ORGANIZATION-HERE") as m:
for member in await m.get_members():
print(member)
# Alternative
m = await masterblaster.MasterBlaster.create("MY-TOKEN-HERE","MY-ORGANIZATION-HERE")
for member in await m.get_members():
print(member)
await m.teardown()
# Or Perhaps
m = masterblaster.MasterBlaster("MY-TOKEN-HERE","MY-ORGANIZATION-HERE")
...
...
async with m:
for member in await m.get_members():
print(member)
if __name__ == "__main__":
asyncio.run(main())
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
masterblaster.py
was created by Øyvind Nohr. It is licensed under the terms
of the MIT license.
Credits
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for masterblaster_py-0.1.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf82fef01309d98847a346f133b1c2c192fe92f3aa27c563d68cf1e0157f57ed |
|
MD5 | e247ffbb0e15dd3f41ff696413014ac8 |
|
BLAKE2b-256 | 3a0b3770510bd01229fb61d1e9f3cb87861bbcbd068b6e721fceb2284b33ddaf |
Close
Hashes for masterblaster_py-0.1.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d8221b03e105e67006caa857ca94f23158209afb371003223de8c5fcdf6e813 |
|
MD5 | ecc0862d6bd5e2c10562da612618da47 |
|
BLAKE2b-256 | a03021ee62dd5d2007aecac681beccd02decdd3d0beba2a9509383eb3b9b9935 |