iOS - Using Search API for Google Shopping
My ultimate goal is to search for an item (using a query in code) and
display some information from a JSON object using the Google Shopping API
- Objective-C Client.
I know that the search API for shopping is going to be deprecated very
shortly but wanted to at least get something to work just to show that it
does work. So short term I would like to get this to work and long term
use something similar (such as an Amazon API).
I am targeting iOS 6.0+ and am currently using XCode 4.6. I followed this
blog tutorial here for XCode 4.5 and got everything set up as stated here.
(Although maybe there is another way to get the pre-built library built -
but the blog author said that that did not work)
If you look at the first link they give you an example of how to use the
API(under Basics - Objects and Queries) but I have a problem in that I
cannot find the GTLServiceGoogleShopping object anywhere. If you use the
svn command to checkout the library files you don't get this object nor do
you get any example code for this particular service.
I am wondering if anyone has done this in iOS before and/or if anyone
would like to recommend an alternative way to do a product search on the
web that returns a JSON Object, that is compatible with XCode/iOS and that
is as easy to use as the Google Shopping API seems to be. (i.e. use a few
objects to make a http request then parse the JSON object as needed).
Any help/information/guidance would be greatly appreciated.
No comments:
Post a Comment