netgalley/oauth1-goodreads

OAuth 1.0 Client Library for Goodreads

1.1.0 2022-11-07 18:53 UTC

This package is auto-updated.

Last update: 2024-11-07 23:30:40 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: