I am fairly new to Objective-C and iOS but not brand new. I have built an
app that accesses data from a web app via HTTP using Basic Authentication
and then gets JSON content for use in a table view. Not too difficult.
Now I am looking to do what I would think is simple:
1 - Authenticate to our Google Apps account
2 - Extract Google Analytics data for a given URL on our web site
3 - Get that content via JSON
Is there no concise example of how to get a users logon data and pass it to
Google? The examples I have found here seem to have thousands of lines of
code and reliance on numerous other libraries. I can't believe that there
is not some simple way (assuming I have our client ID and secret) to get
the user's name/password and then craft a URL to authenticate them. Has my
search of the internet just missed something? Is there actually an easy
way to do this? Can it be done without these large and complex Google
libraries?
Any suggestions/thoughts would be appreciated.