Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Releases: DacotahHarvey/thebluealliance-phpwrapper

Updated to support TBA API V3

13 Jun 17:26
Compare
Choose a tag to compare

NOTE: V2 of TBA is no longer supported with this release. To use V2 you MUST use the previous release

This update is a large breaking update to support all of the new changes and endpoints provided in V3.

Library Init

Initializing the library now requires you to have an API Key. Information on how to get one can be found here https://www.thebluealliance.com/apidocs

Function Restructure

The function names follow a format similar to the endpoint structure. Some examples of this are as follows:

/teams -> getTeams()
/team/{team_key}/events/{year}/simple -> getTeamEventsForYearSimple()
/districts -> getDistricts()

Script Updates

Most of the scripts broke with the change to the V3 api. This was mostly due to new endpoints being added that removed a lot of iterative code. Because of this many of the scripts are MUCH faster.

They output for some of the scripts was also updated so they look a bit nicer now!

Added Package to Composer

06 May 04:45
Compare
Choose a tag to compare

Added the composer.json file so the package can be easily loaded in VIA composer

All API Functions Included. Base Example Scripts

06 May 04:37
Compare
Choose a tag to compare

In the previous version the getDistrictRankings function was missing. That has since been added in.

There has also been a 2017 scripts folder added to the project with examples of the API being used.

Support for PHP Objects Being Returned

20 Mar 00:41
Compare
Choose a tag to compare

In the first implementation of this Library a call would return the data as it was returned from the API. This was fairly annoying because you had to json_decode the information immediately after it was returned in order to use it. This release added the ability to specify whether you want to return a PHP Object or a JSON blob with the default being the PHP Object.

First Release

08 Jan 20:17
Compare
Choose a tag to compare

The first release a fully functioning version of the Wrapper.

This version also comes with a sample. This sample can be accessed very using the program Xampp.