Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bilaleren/broadage-api-php
Broadage Sports provides comprehensive sports data API solutions for your projects.
https://github.com/bilaleren/broadage-api-php
Last synced: 15 days ago
JSON representation
Broadage Sports provides comprehensive sports data API solutions for your projects.
- Host: GitHub
- URL: https://github.com/bilaleren/broadage-api-php
- Owner: bilaleren
- License: mit
- Created: 2020-03-27T19:25:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-23T12:09:45.000Z (over 4 years ago)
- Last Synced: 2024-11-06T23:41:31.688Z (2 months ago)
- Language: PHP
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Broadage Sports API's
Broadage Sports provides comprehensive sports data API solutions for your projects. [Read Full Docs.](https://www.broadage.com/developers/documentation/index)## Prerequisites
PHP >= 7.1
## Installation
```
composer require bilaleren/broadage-api
```## Usage
```php
use BroadAgeApi\BroadAgeApi;
use BroadAgeApi\Util\Accepts;
use BroadAgeApi\Util\Languages;BroadAgeApi::init([
'baseURL' => 'https://broadage-base-url.com',
'subscriptionKey' => '###-####-#####-#####',
'languageId' => Languages::TURKISH, // default Languages::ENGLISH
'accept' => Accepts::XML, // default Accepts::JSON
'requestOptions' => [ // optional
'timeout' => 6.0,
'headers' => []
]
]);
```## Functions
```php
use function BroadAgeApi\{
init,
soccer,
basketball,
football,
baseball,
iceHockey,
volleyball,
handball,
globalData
};
```## Global API
- [Global API (Sports, Country, Round and Status List)](./src/README.md)
## Sports
- [Soccer](./src/Sport/Soccer/README.md)
- [Basketball](./src/Sport/Basketball/README.md)
- [Football](./src/Sport/Football/README.md)
- [Baseball](./src/Sport/Baseball/README.md)
- [Ice Hockey](./src/Sport/IceHockey/README.md)
- [Volleyball](./src/Sport/Volleyball/README.md)
- [Handball](./src/Sport/Handball/README.md)## Utils
- [Config](./src/Util/README.md#config)
- [Languages](./src/Util/README.md#languages)
- [Accepts](./src/Util/README.md#accepts)