Download the PHP package openpublicmedia/pbs-station-manager-php without Composer
On this page you can find all versions of the php package openpublicmedia/pbs-station-manager-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download openpublicmedia/pbs-station-manager-php
More information about openpublicmedia/pbs-station-manager-php
Files in openpublicmedia/pbs-station-manager-php
Package pbs-station-manager-php
Short Description PHP client for interacting with the PBS Station Manager API.
License Apache-2.0
Informations about the package pbs-station-manager-php
PBS Station Manager PHP Library
This library abstracts interactions with the PBS Station Manager API.
Installation
Install via composer:
Use
The primary class provided by this library is the
OpenPublicMedia\PbsStationManager\Client
. A Client
instance can be used to
query the API in various ways. An API key and secret is optional, as the Station
Manager API provides public and internal endpoints.
Response data structures
The API currently only support retrieving station information so Client
provides two methods:
getStation($id)
getStations()
Both methods return OpenPublicMedia\PbsStationManager\Entity\Station
instances.
A single instance for the singular getter and an array of instances for the
plural getter.
Examples
Creating a client
Getting a single Station
Getting all Stations
Development goals
See CONTRIBUTING for information about contributing to this project.
v1
- [x] API authentication (
OpenPublicMedia\PbsStationManager\Client
) - [x] API direct querying (
$client->request()
) - [x] Result/error handling
- [x] Station entity (
OpenPublicMedia\PbsStationManager\Entity\Station
) - [x] Station getters.
v2
- [x] PHP 8 support
All versions of pbs-station-manager-php with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^6.3 || ^7.0
jawira/case-converter Version ^3.0
league/uri Version ^6.5
league/uri-components Version ^2.0
phpcompatibility/php-compatibility Version ^9.3