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 hashes)

Uploaded Source

Supported by

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