A library to easily implement the MediaLab API. Full documentation of API methods is available here.
License: MIT
Please see the examples directory on how to use these classes.
- PHP 7.1+
- PHP cURL extension
If you require PHP 5 support, look at version 2.
The SDK supports 2 methods to authenticate with the API:
- OAuth2. See authorize.php on how you could set up the authorization workflow.
- Private Token: CLI tools or private tools that only need to access a single account. See private_token.php for an example.
If you're using Composer for your project's dependencies, add the following to your "composer.json":
"require": {
"medialab/medialab-sdk-php": "^3.0"
}