Library for working with the Google Reader Like API
Project description
# ReadMe librssreader is based on the original work libgreader from Matthew Behrens <askedrelic@gmail.com>. And it is developer oriented python package. With simple configuration changes and little codes, we hope it would support all Google Reader Api Like Rss Readers like ‘Inoreader/The old Reader/Feedly’ etc. RSS Reader ain’t dead yet! The library will support inoreader by default, and will be easy to extend to support other Rss Reader.
libgreader is a basic configurable Python library for authenticating and interacting with the unofficial Google Reader API. It currently supports all major user authentication methods (ClientLogin, OAuth2) and aims to simplify the many features that Google Reader offers.
Licensed under the MIT license: [http://www.opensource.org/licenses/mit-license.php]()
## Features
Support for all Google recommended authentication methods, for easy integration with existing web or desktop applications
Explanation of most of the Google Reader API endpoints, which Google has never really opened up
Convenient functions and models for working with those endpoints
A modest integration test suite!
## Usage
It’s as simple as:
>>> from librssreader.inoreader import RssReader, ClientAuthMethod, Item >>> auth = ClientAuthMethod('YOUR USERNAME','YOUR PASSWORD') >>> reader = RssReader(auth) >>> print reader.getUserInfo() {u'userName': u'Foo', u'userEmail': u'librssreadertest@gmail.com', u'userId': u'16058940398976999581', u'userProfileId': u'100275409503040726101', u'isBloggerUser': False, u'signupTimeSec': 0, u'isMultiLoginEnabled': False}`
For more examples with all of the authentication methods, see the [USAGE file](https://github.com/askedrelic/libgreader/blob/master/USAGE.md).
## Installation
libgreader is on pypi at [http://pypi.python.org/pypi/libgreader/](http://pypi.python.org/pypi/libgreader/)
$ pip install librssreader
or
$ easy_install librssreader
## Note
The old reader config now DO NOT well test and may not work. It now only is an example for how to extend the library to other rssreaders. Any contribution will be appreciated.
## Testing and Contribution
Want to test it out or contribute some changes?
First, fork the repository on Github to make changes on your private branch. Then, create a dev environment using a virtualenv:
$ pip install virtualenvwrapper $ mkvirtualenv venv-librreader –no-site-packages
Checkout your fork and then run the tests:
$ python setup.py test
Now hack away! Write tests which show that a bug was fixed or that the feature works as expected. Then send a pull request and bug me until it gets merged in and published.
## Thanks
Originally created from:
[https://github.com/askedrelic/libgreader/](libgreader)
#History
##v0.1.0 - not yet publish - Make API domain configurable - Support Inoreader API by default
# History of libgreader
##v0.8.0 - - Make API endpoint configurable
##v0.7.0 - 2013/03/18 - Now requires Requests > 1.0 (Requests now used for all HTTP requests) - Python 3.3 Compatibility (Test suite passes for Python 2.6, 2.7, and 3.3) - Deprecate OAuth 1.0 auth method (Google deprecated it April 20, 2012 https://developers.google.com/accounts/docs/OAuth ) - RIP Google Reader :(
##v0.6.3 - 2013/02/20 - Add support for add/remove tag transaction abi- lity, to mass edit tags on on an Item - Add since/until argument support for many Container calls - Add support for loadLimit argument with feed Containers loadItems() call
##v0.6.2 - 2012/10/11 - Fix broken post() method with OAuth2 auth, https://github.com/askedrelic/libgreader/issues/11
##v0.6.1 - 2012/08/13 - cleanup sdist package contents, to not include tests - Remove httplib2 as a require import unless you are using GAPDecoratorAuthMethod
##v0.6.0 - 2012/08/10 * OAuth2 support * Deprecating OAuth support * Added auth support for Google App Engine with GAPDecoratorAuthMethod * Internal code re-organization
##v0.5 - 2010/12/29 * Added project to PyPi, moved to real Python project structure * Style cleanup, more tests
##v0.4 - 2010/08/10 Lot of improvements :
Manage special feeds (reading-list, shared, starred, friends…)
Manage categories (get all items, mark as read)
Manage feeds (get items, unread couts, mark as read, “fetch more”)
Manage items (get and mark read, star, share)
and:
oauth2 not required if you don’t use it
replacing all xml calls by json ones
##v0.3 - 2010/03/07 * All requests to Google use HTTPS * CLeaned up formatting, should mostly meet PEP8 * Fixed random unicode issues * Added licensing
##v0.2 - 2009/10/27 * Moved all get requests to private convenience method * Added a few more basic data calls
##v0.1 - 2009/10/27 * Connects to GR and receives auth token correctly. * Pulls down subscription list.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file librssreader-0.0.10.tar.gz
.
File metadata
- Download URL: librssreader-0.0.10.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4987820369ed2d6bb1f3b3bb98a2046a8739e509e70cc134cd61ddaaf4d5fe29 |
|
MD5 | e10e42bd8459c4bd254d83b85aa1afb4 |
|
BLAKE2b-256 | bfdf092ddd603c6c730f0bf577f2c1ce8bab5140dceb568ecf045186b620d79d |