No description, website, or topics provided.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
API.md
README.md
composer.json
phpunit.xml.dist

README.md

ShareCloth-API PHP Client

API Documentation

Get access token

Install

With composer.

Add this lines to your composer.json file:

"repositories": [
{
    "type": "vcs",
    "url": "https://github.com/sharecloth/ShareCloth-API.git"
}
],
"require": {
    "sharecloth/api": "dev-master"
}

And then

composer update

Work with api

$accessToken = ''; // insert your access token here. can by found at this page: http://app.sharecloth.com/en/account/api-page

$client = new Client($accessToken);

$avatarList = $client->avatarList();

print_r($avatarList);