All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Tidying up the documentation.
- Documentation for the methods
::getStationCheckResults()
and::getStationClicks()
. - Added the
$limit
parameter for the::getStationCheckResults()
method.
- Bug: without specifying the uuid,
::getStationCheckResults()
and::getStationClicks()
would return empty results.
Added guzzlehttp/guzzle
to the project, replacing my own adinan-cenci/simple-request
.
The RadioBrowser
class is now a wrapper for the new RadioBrowserApi
class.
RadioBrowserApi
is the general one, its methods return strings, RadioBrowser
methods return arrays or objects depending on the parameters informed to the constructor.
- RadioBrowserApi class
- The read-only proprieties $server and $format.
- ::getStationsByClicks()
- ::getStationsByVotes()
- ::getStationsByRecentClicks()
- ::getStationsByLastChange()
- ::getStationOlderVersions()
- ::getBrokenStations()
- ::getServerStats()
- ::getServerMirrors()
- ::getServerConfig()
- ::getServerMetrics()
- ::addStation()
- added examples files
::getStationsByExactTag($tag)
and::getStationsByTag($tag)
no longer strip "#" from$tag
before request.