Skip to content
MediaLab SDK for PHP, integrating MediaLab in your project - https://docs.medialab.co
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src/Medialab
.gitignore
CHANGELOG.md
LICENSE
README.md
composer.json
composer.lock

README.md

MediaLab API SDK

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.

Requirements

  • PHP 7.1+
  • PHP cURL extension

If you require PHP 5 support, look at version 2.

Authentication

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.

Setup

If you're using Composer for your project's dependencies, add the following to your "composer.json":

"require": {
    "medialab/medialab-sdk-php": "^3.0"
}
You can’t perform that action at this time.