This package provides Etsy API OAuth 1.0 support for the PHP League's OAuth 1.0 Client.
Via Composer
$ composer require y0lk/oauth1-etsy
Usage is the same as The League's OAuth client, using Y0lk\OAuth1\Client\Server\Etsy
as the provider.
$server = new Y0lk\OAuth1\Client\Server\Etsy([
'identifier' => 'your-client-id',
'secret' => 'your-client-secret',
'scope' => '', //See Etsy documentation for the full list of permission scopes
'callback_uri' => 'http://callback.url/callback'
]);
See the Etsy documentation for Permission Scopes
The MIT License (MIT). Please see License File for more information.