Skip to content

An Objective-C wrapper around (unofficial) Google Reader API for iOS Apps.

Notifications You must be signed in to change notification settings

0m15/GoogleReaderAPI-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

GoogleReaderAPI - iOS client

An Objective-C wrapper around (unofficial) Google Reader API for iOS Apps.

This is an Objective-C wrapper around unofficial GoogleReader API. I'm open sourcing this library while working on a side project.

DISCLAIMER: Google has no official API for Google Reader. This library has been inspired by the Pyrfeed project (a python client). All endpoints and api methods have been discovered through reverse engineering.

UPDATES:

  • All requests are now Async
  • Written all API methods (still need to add OC Unit Test)
  • Written a GoogleReaderRequestDelegate Protocol
  • Refactored all methods (bringed all methods from class methods to instance methods)
  • Added JSON parsing with SBJSON library https://github.com/stig/json-framework/

Features

  • Authentication via ClientLogin
  • Asynchronous requests
  • High level API methods
  • JSON responses encoded in NSDictionary

TODO

  • Test case
  • Async all requests/responses
  • High-level API methods
  • Encoding of JSON responses into native NSDictionary
  • oAuth v2.0 method support (when it will be available)
  • Unofficial documentation

Mini tutorial: use in your project

Warning: make this at your own risk. I remember you this is a very ALPHA stage.

  • Include "GoogleReader.h" "GoogleReader.m" and "Constants.h" in your XCode Project.

  • Instantiate a new GoogleReader object and set its delegate (remember to implement protocol methods in your delegate):

    GoogleReader *reader = [GoogleReader alloc] init]; [reader setDelegate:self];

  • Check if user needs authentication

    [reader isNeedAuth];

  • API request example: Get all Reader subscriptions

    [reader getSubscriptionsList];

  • API requext example: Add a new subscription

    [reader addSubscriptionWithURL:(NSString *)url feed:(NSString *)feed labels:(NSArray *)labels];

Any help is welcome.

##Authors:

Copyright 2011 Simone Carella/Aaron Brethorst.

About

An Objective-C wrapper around (unofficial) Google Reader API for iOS Apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published