netgalley/oauth1-goodreads

OAuth 1.0 Client Library for Goodreads

1.0.3 2017-09-01 02:41 UTC

This package is auto-updated.

Last update: 2021-11-04 20:43:20 UTC


README

License Latest Stable Version

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

Installation

To install, use Composer:

composer require netgalley/oauth1-goodreads

Usage

Usage is the same as The League's OAuth client, using NetGalley\OAuth1\Client\Server\Goodreads as the provider.

$client = new \NetGalley\OAuth1\Client\Server\Goodreads(array(
    'identifier'   => 'your-client-id',
    'secret'       => 'your-client-secret',
    'callback_uri' => 'http://callback.url/callback',
));

Documentation

See the Goodreads API documentation: