PHPackages                             tba-api/tba-api-client-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. tba-api/tba-api-client-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tba-api/tba-api-client-php
==========================

\# Overview Information and statistics about FIRST Robotics Competition teams and events. # Authentication All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your \[Account Page\](/account). A `User-Agent` header may need to be set to prevent a 403 Unauthorized error.

v3.8.0(6y ago)07unlicensePHPPHP &gt;=7.1CI failing

Since Mar 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TBA-API/tba-api-client-php)[ Packagist](https://packagist.org/packages/tba-api/tba-api-client-php)[ Docs](https://openapi-generator.tech)[ RSS](/packages/tba-api-tba-api-client-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

TBA-API-v3client
================

[](#tba-api-v3client)

Overview
========

[](#overview)

Information and statistics about FIRST Robotics Competition teams and events.

Authentication
==============

[](#authentication)

All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account).

A `User-Agent` header may need to be set to prevent a 403 Unauthorized error.

This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 3.8.0
- Build package: org.openapitools.codegen.languages.PhpClientCodegen

Requirements
------------

[](#requirements)

PHP 7.3 and later

Installation &amp; Usage
------------------------

[](#installation--usage)

### Composer

[](#composer)

To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/tba-api/tba-api-client-php.git"
    }
  ],
  "require": {
    "tba-api/tba-api-client-php": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
    require_once('/path/to/TBA-API-v3client/vendor/autoload.php');
```

Tests
-----

[](#tests)

To run the unit tests:

```
composer install
./vendor/bin/phpunit
```

Getting Started
---------------

[](#getting-started)

Please follow the [installation procedure](#installation--usage) and then run the following:

```
