Skip to main content

Simple python wrapper for the Brawl Stars API!

Project description

brawlapi

Simple python wrapper for the Brawl Stars API! This module uses: brawlapi.com (Brawlify.com), brawlstats.

Requirements

  • Python version: 3.6+
  • Python Modules: requests, json, os
  • OS: Windows, Linux, Android, MacOS

Installing and Using

You can use this API in two ways:

  1. Download and place the brawlapi.py file in the directory. Then import the file to the script: import brawlapi.
  2. Use pip: pip install brawlapi-py and import to code: import brawlapi.

Authorization

To use this API you need access token from here: https://developer.brawlstars.com/#/account
Use this function to authenticate:

bs = brawlapi.BrawlApi() bs.BrawlSession('token')

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brawlapi-py-1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brawlapi_py-1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file brawlapi-py-1.0.tar.gz.

File metadata

  • Download URL: brawlapi-py-1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

File hashes

Hashes for brawlapi-py-1.0.tar.gz
Algorithm Hash digest
SHA256 82118d9b895fa09eebd5bfde83523bcf1e3f584f6a554cfaddd68b88654ea08c
MD5 d7d797af535c068cb95fbbd45e25a2e9
BLAKE2b-256 15c19ab7df71e9ea6c4bde41c09ab047cf0659c20c7c1d1ffa71a67bf6dddef2

See more details on using hashes here.

File details

Details for the file brawlapi_py-1.0-py3-none-any.whl.

File metadata

  • Download URL: brawlapi_py-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

File hashes

Hashes for brawlapi_py-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5af676a2748fe3fbe6150b58c7c3991576de8b19fa9b3a3aaa2d696115fc147b
MD5 06ab849837417357223c8a4e008ff8de
BLAKE2b-256 ef4e0a97392869fc13bc895f659fff8d9ee0aee9c54bd23dcd0dee44e872f196

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page