indeximstudio/oauth1-etsy

Etsy API OAuth 1.0 Client Provider for The PHP League OAuth1-Client

dev-master 2022-09-07 06:46 UTC

This package is not auto-updated.

Last update: 2024-05-01 18:14:43 UTC


README

Latest Stable Version License Total Downloads

This package provides Etsy API OAuth 1.0 support for the PHP League's OAuth 1.0 Client.

Installation

Via Composer

$ composer require gentor/oauth1-etsy

Usage

Usage is the same as The League's OAuth client, using Gentor\OAuth1Etsy\Client\Server\Etsy as the provider.

$server = new Gentor\OAuth1Etsy\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'
]);

Permission Scopes

See the Etsy documentation for Permission Scopes

License

The MIT License (MIT). Please see License File for more information.