ashukhobragade / gtm-http-fetcher

Automatically exported from code.google.com/p/gtm-http-fetcher
Other
0 stars 0 forks source link

GTMHTTPFetcher JSON #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi i need to read google account contacts.

I successfully able use OAuth.

and I'm doing blow code to read contacts. but issue is i'm getting row data.

How can i get json output?

 NSString *urlString = @"https://www.google.com/m8/feeds/contacts/default/full";

GTMHTTPFetcher* fetcher = [GTMHTTPFetcher fetcherWithURLString:urlString];
                fetcher.authorizer = oAuth;
                [fetcher beginFetchWithDelegate:self didFinishSelector:@selector(receivedResponse:WithData:error:)];

output I'm getting is <3c3f786d 6c207665 7273696f 6e3d2731 2e302720 656e636f 
64696e67 3d275554 462d3827 3f3e3c66 65656420 786d6c6e 7.....>

how i can get json output using GTMHTTPFetcher? is it possible?

need your help please.

Original issue reported on code.google.com by j2da...@gmail.com on 12 Jan 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Use the Google Data APIs library for Google Contacts. It includes a sample 
application.

http://code.google.com/p/gdata-objectivec-client/

The Contacts API is documented at http://code.google.com/apis/contacts/

Original comment by grobb...@google.com on 12 Jan 2012 at 7:09

GoogleCodeExporter commented 9 years ago
thanks i got it.

Original comment by j2da...@gmail.com on 12 Jan 2012 at 7:44