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


Release history Release notifications

This version
History Node

0.1a3

History Node

0.1a2

History Node

0.1a1

History Node

0.1a0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
TbaApi3-0.1a3.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Jul 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page