A Python wrapper for the Ninja Kiwi Open Data API
Project description
BloonsPy
BloonsPy is a Python wrapper for the Ninja Kiwi Open Data API.
Installing
Python 3.10 or higher is required
python3 -m pip install bloonspy
Quick example
from bloonspy import Client
boss_event = Client.bosses()[0].standard()
boss_standard_top_3 = boss_event.leaderboard()[:3]
for player in boss_standard_top_3:
minutes, seconds = int(player.score.seconds/60), int(player.score.seconds%60)
print(f"{player.name} - {minutes}:{seconds}")
Resources
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
bloonspy-0.2.0.tar.gz
(27.7 kB
view hashes)
Built Distribution
bloonspy-0.2.0-py3-none-any.whl
(43.7 kB
view hashes)