2017 © Pedro Peláez
 

library inoreader-api

Inoreader.com api client

image

exileed/inoreader-api

Inoreader.com api client

  • Sunday, April 15, 2018
  • by exileed
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Inoreader PHP Client

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

A PHP client for authenticating with Inoreader using OAuth and consuming the API., (*2)

Install

Via Composer, (*3)

``` bash $ composer require exileed/inoreader-api, (*4)


## Usage #### Client Example ```php use ExileeD\Inoreader\Inoreader; $apiKey = 1000000; $apiSecret = 'xxxx'; $token = 'ssss'; $inoreaderClient = new Inoreader( $apiKey, $apiSecret ); $inoreaderClient->setAccessToken($token); $inoreaderClient->itemsIds();

Access token via Oauth2


use ExileeD\Inoreader\Inoreader; $apiKey = 1000000; $apiSecret = 'xxxx'; $client = new Inoreader( $apiKey, $apiSecret ); $redirectUrl = 'http://localhost'; $scope = 'test'; $client->getLoginUrl($redirectUrl, $scope); $client->accessTokenFromCode('code', $redirectUrl); // Access token from refresh token $client->accessTokenFromCode('code', $redirectUrl);

Advanced usage

User info, (*5)

$client->userInfo();

Add subscription, (*6)

$url = 'https://www.inoreader.com/blog/feed';

$client->addSubscription($url);

Edit subscription, (*7)

$url = 'feed/https://www.inoreader.com/blog/feed';

$client->editSubscription(['ac' => 'edit', 's' => $url, 't' => 'test']));

Unread count, (*8)

$client->unreadCount():

Subscription list, (*9)

$client->subscriptionList();

Folders and tags list, (*10)

use ExileeD\Inoreader\Objects\Tag;

$type = Tag::TYPE_ITEM;
//$type = Tag::TYPE_TAG;
//$type = Tag::TYPE_FOLDER;
//$type = Tag::TYPE_ACTIVE_SEARCH;

$client->tagsList($type, $count);

Testing

bash $ ./vendor/bin/phpunit, (*11)

Contributing

Please see CONTRIBUTING for details., (*12)

Credits

License

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

The Versions

15/04 2018

dev-master

9999999-dev http://github.com/stevenmaguire/yelp-php

Inoreader.com api client

  Sources   Download

MIT

The Requires

 

The Development Requires

api php oauth2 inoreader

15/04 2018

v0.2

0.2.0.0 http://github.com/stevenmaguire/yelp-php

Inoreader.com api client

  Sources   Download

MIT

The Requires

 

The Development Requires

api php oauth2 inoreader

14/04 2018

v0.1

0.1.0.0 http://github.com/stevenmaguire/yelp-php

Inoreader.com api client

  Sources   Download

MIT

The Requires

 

The Development Requires

api php oauth2 inoreader