NinjaKiwi API (OpenDATA) for Python! (My first library)
Project description
NinjaKiwi API
Usage
...
Example
import asyncio
from ninjakiwi_api import fetch
async def start():
data = await fetch("BTD6", "races")
if data is not None:
raw = await data.get_raw_data()
example = await data.get_data("id")
print(f"Successfully fetched race data: {raw}")
if example is not None:
print(f"Successfully fetched race data: {example}")
else:
print("Failed to fetch race data.")
def main():
asyncio.run(start())
if __name__ == "__main__":
main()
Coming soon...
Stay tuned guys
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
ninjakiwi_api-0.0.7.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for ninjakiwi_api-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c375ac3de1a497a1b10001360d31aae21fc3f15299c1a7682158bae70499b05c |
|
MD5 | 2c27be428f7ae2c5c9196732de2bd2db |
|
BLAKE2b-256 | 5657948a2ea53e6372befb135efa5477cc3e71eb7ef2a46a9dbd90ffb4e97cb4 |