2017 © Pedro Peláez
 

library pocketapi

A simple PHP wrapper for the Pocket API.

image

arianrashidi/pocketapi

A simple PHP wrapper for the Pocket API.

  • Tuesday, March 27, 2018
  • by arianrashidi
  • Repository
  • 1 Watchers
  • 3 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Pocket API

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A PHP client for the Pocket API., (*2)

Install

Via Composer, (*3)

``` bash $ composer require arianrashidi/pocketapi, (*4)


## Usage ``` php $pocket = new ArianRashidi\PocketApi\Pocket($consumerKey);

Helpers

``` php $pocket->setConsumerKey($consumerKey); $pocket->getConsumerKey(); $pocket->setAccessToken($accessToken); // Required for addApi(), modifyApi() and retrieveApi(). $pocket->getAccessToken(); $pocket->setHttpClient(new GuzzleHttp\Client()); $pocket->getHttpClient();, (*5)


### Authentication API [Documentation](https://getpocket.com/developer/docs/authentication) ``` php $pocket->authenticationApi()->obtainRequestToken($redirectUrl); $pocket->authenticationApi()->authorizationUrl($requestToken, $redirectUrl); $pocket->authenticationApi()->obtainAccess($requestToken);

Add API

Documentation, (*6)

``` php $pocket->addApi()->single($url);, (*7)


### Modify API [Documentation](https://getpocket.com/developer/docs/v3/modify) ``` php $pocket->modifyApi()->send($actions);

Retrieve API

Documentation, (*8)

``` php $pocket->retrieveApi()->get();, (*9)


## Change log Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. ## Testing ``` bash $ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*10)

Credits

License

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

The Versions

27/03 2018

dev-master

9999999-dev https://github.com/ArianRashidi/PocketApi

A simple PHP wrapper for the Pocket API.

  Sources   Download

MIT

The Requires

 

The Development Requires

api pocket read it later arianrashidi pocket-api pocketapi

19/01 2017

v1.0.0

1.0.0.0 https://github.com/ArianRashidi/PocketApi

A simple PHP wrapper for the Pocket API.

  Sources   Download

MIT

The Requires

 

The Development Requires

api pocket read it later arianrashidi pocket-api pocketapi