Skip to main content

A Python library for the TBA API v3

Project description

#TbaApi3
TbaApi3 is a Python library for TheBlueAlliance.com's API version 3. It's currently in development, but right now supports all Team and requests.

#Installation
To install TbaApi3 with pip:
```pip install TbaApi3```
In addition to having the library installed, you'll need an API Key from TBA. You can find one [here](https://www.thebluealliance.com/account).

#Usage
To create an ApiObject with new key `'key'`:
```
import TbaApi3

api_object = TbaApi3.ApiObject('key')
```
Now you can check documentation to find corresponding TBA API calls and their functions, as well as a few extra "convenience" functions. For example, to find all FRC teams active in a season:
```
teams = api_object.get_all_teams(year)
```
Now to get the name of the first team:
```
print(teams[0].nickname)
```

Project details


Download files

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

Source Distribution

TbaApi3-0.1a3.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file TbaApi3-0.1a3.tar.gz.

File metadata

  • Download URL: TbaApi3-0.1a3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TbaApi3-0.1a3.tar.gz
Algorithm Hash digest
SHA256 09891f855a6240b88e83f78de7355ccbf38aa4305b63d0559718f6d5e39824a8
MD5 30497e9b2034cb9c72aa6c02436f1a4f
BLAKE2b-256 4da23bf4c61397f22f3eb7bd43277fd8327086aa26f146a28ef66d99ad50492b

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