Download the PHP package canihavesomecoffee/thetvdbapi without Composer
On this page you can find all versions of the php package canihavesomecoffee/thetvdbapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download canihavesomecoffee/thetvdbapi
More information about canihavesomecoffee/thetvdbapi
Files in canihavesomecoffee/thetvdbapi
Package thetvdbapi
Short Description PHP implementation for the 4th version of the TheTVDb API.
License ISC
Informations about the package thetvdbapi
CanIHaveSomeCoffee/TheTVDbAPI
This is an API client for the thetvdb.com website. It's using the 4th version of the theTVDb API. In order to be able to access this API you'll have to register on theTVDb first and obtain a project key.
API Key Registration
To use this PHP package, you need to request an API Key from the thetvdb.com website: https://thetvdb.com/dashboard/account/apikeys.
We have two models for API access, both that provide funding that allows us to continue running and improving the site. The first is our negotiated license model, which allows commercial companies to negotiate access with us. The second is a user-subscription model, which allows end users to access the API if they are subscribed. We reserve the right to change our interfaces, fees, or licensing terms at any point without notice.
To create an API key, create an account and visit the API keys page on your dashboard.
Installation
Install this package using composer:
`
Documentation
The official API documentation can be found here: [https://thetvdb.github.io/v4-api/]().
For usage examples of the API, please refer to the examples' folder.
API-wide translations
You can pass a primary and secondary (fallback) language to the API constructor.
For example, if you want translations in Dutch, but a fallback to English if no Dutch translations exist, you can set this as follows:
`
By default, the primary language is set to English without a fallback language.
Authentication
`
Routes
The TheTVDbAPI
offers access to the same routes that the API provides. A few usage examples are listed below:
Authentication
`
Languages
`
Episodes
`
Series
`
Search
`
Updates
Fetch a list of entities that have been recently updated:
`
Some wrapper methods are available to restrict results: `
Artwork
`
Contributing
While the aim is to provide a ready-to-use API, it's possible that things are missing or outdated. If you think something is missing, or you want to add something, feel free to open up an issue, or even better, make a Pull Request (PR) with a fix or improvement. The PR's will be gladly accepted in order to improve this client API.
All versions of thetvdbapi with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.0
symfony/serializer Version ^5.4|^6.0
symfony/property-access Version ^5.4|^6.0
symfony/property-info Version ^5.4|^6.0
phpdocumentor/reflection-docblock Version ^5.3