GData Google API Objective-C client help for iPhone - iphone

There seems to be no available documentation for the Objective-C client for the Google Data API. Google's API help webpage only has options for .NET, Java, Python, and the HTTP Protocol. I want to access data from a spreadsheet on my Google Docs account, and then add new data.
I have added the correct source codes to my project as outlined in the GData Wiki, and am now completely lost. There are a ton of classes to sort through for Spreadsheets, and there are very few comments and I can't really tell by method names what does what.
If possible, can someone post a couple snippets of code to first access the available documents, then pick one of the choices, and then add information to a cell (like A1)?
Thank you in advance for your consideration!

Did you look at the spreadsheet sample?

http://code.google.com/p/gdata-objectivec-client/wiki/GDataObjCIntroduction
A year or so later, a page for just this: Google Data APIs Objective-C Client Library

Generally, to create a new entry, you'll use an http POST to the feed's postLink. The Obj-C library service class provides POST operations as the method fetchEntryByInsertingEntry:
I believe creating a new spreadsheet still requires uploading a new document, as mentioned in the docs. You could create a simple CSV text file and upload that as a spreadsheet.
Note that there is a discussion group for users of the library.

Related

How can I use my own api to other platforms?

I made a json api with using this => https://www.django-rest-framework.org/tutorial/quickstart/
All the articles I read teach the creation and use of api within its own platform, what I need is what I produce on the web, use it to in other platforms. I made my api but no idea about how to import it in other platforms..
so how can I use my own api in my c# windows form application or my flutter project
Any link, guide etc.
First of all you should be clear about why you need an api. If you need to transfer data from one system to another, pick a way that you know you can operate on both sides.
JSON or XML are just ways of representing data, first think about what you need and how can you transport that data between systems...After that the implementation should be clear.

ASIHTTPRequest Post data from iPhone to PHP

In Objective C I want to create a simple application that posts a string to a php file using ASIHTTPRequest.
I have no need for an interface and am finding it hard to find any example code. Does anyone know where I can find code, or can anyone give me an example of such code?
The ASIHTTPRequest documentation covers this. Specifically, Sending a form POST with ASIFormDataRequest.
This site has a really great walkthrough on how to use ASIHTTPREQUEST to authenticate data against a database. the walkthrough breaks the entire process down file by file for you.

accessing Facebook API from R for Text Mining

I was wondering if anyone know how i could access facebook API from within R.. I would like, to access the text in my wall post, and do very basic analysis. The problem is that, aside from the fact that my knowledge of text mining is very basic, my knowledge of how to use web-api (if that is even a correct concept), is non-existing.
Assuming that i have an api-key, can someone provide me with a very basic example/code to demonstrate how i could make the connection from R to facebook, and download some data? I imagine i will need one or more R packages, such as: Rcurl, Rjson...
My main focus right now is to learn/improve my text mining skills in R, and so i don't want to get lost into/distracted by basic programing to access facebook api.
Finally, i read in the comment on a related question
Update Facebook status using R?
that
"...it's not like you can pull large amounts of data from Facebook to do data analysis...".
Can anyone elaborate on that?
Thanx
you can use Rfacebook package from following link to access Facebook API http://cran.r-project.org/web/packages/Rfacebook/Rfacebook.pdf. Further to this, you can use advance text mining packages within R for text mining on the feed.
A more comprehensive help is here http://pablobarbera.com/blog/archives/3.html
An example on how to use it is here
http://thinktostart.wordpress.com/2013/11/19/analyzing-facebook-with-r/
Why even worry about using the API at all? You can use a feature in Facebook to download all your data and it comes as a zipped file with HTML as the main data store. From there, you can grep and mine to your hearts content and you will be able to learn much more about R than jumping in headfirst with APIs.
With the Facebook Graph API, you can get Facebook data for text mining.
You cannot search for posts using the Facebook search bar
But the Graph API supports searching for the following types of objects:
All public posts: https://graph.facebook.com/search?q=watermelon&type=post
People: https://graph.facebook.com/search?q=mark&type=user
Pages: https://graph.facebook.com/search?q=platform&type=page
Events: https://graph.facebook.com/search?q=conference&type=event
Groups: https://graph.facebook.com/search?q=programming&type=group
Places: https://graph.facebook.com/search?q=coffee&type=place
Checkins: https://graph.facebook.com/search?type=checkin
Objects with location
I would highly recommend JavaScript, PHP or other languages mentioned in this document for getting the data and then using R for text mining since R has great tools for text mining
If you still prefer to go with R for the mining, you can connect to Facebook using RCurl and rjson and get the pages using getURL() command and write a small parser to parse the data using simple Regex.
Source: Did the same thing during an internship
if you want easy access, you can also consider using twitter. the twitteR packages provides easy access to public accounts! plus there are some hands-on text mining applications for twitter online, see for example: http://jeffreybreen.wordpress.com/2011/07/04/twitter-text-mining-r-slides/

If I want my iOS app to use a RESTful WebService that returns XML data, which APIs do I want to start learning?

I'd like to build in some weather functionality into my app and I'm going to be using the NOAA weather web service to retrieve the weather information. The NOAA website has a great deal of information on how the data should be requested and how the resulting data is structured. I'm new to iOS development, so I just need a little direction because I'm not sure which APIs I should be using to request and process this data. My questions are...
What's the proper way to request access to the user's location?
If the user allows access to their location, which APIs would I use to access it?
To make an HTTP request to the RESTful webservice, which APIs should I use?
To process/parse the resulting XML data, which API's should I use?
And if anyone can suggest any good examples online that demonstrate any of this functionality, that would also be helpful.
Thanks so much so much in advance for your wisdom!
For location data, look into CoreLocation
http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CoreLocation_Framework/index.html
For HTTP requests I like to use the ASIHTTPRequest class
http://allseeing-i.com/ASIHTTPRequest/
TouchXML makes it easy to work with XML data
http://code.google.com/p/touchcode/wiki/TouchXML
Just today, Luke Redpath posted a complete iPhone REST client he wrote. I can't vouch for it, I only saw today that it even exists. But Luke does good work, so I assume it's pretty decent.
See here:
http://lukeredpath.co.uk/blog/some-code-that-i-wrote.html

Posting Data from iPhone to a server exposing OData

I have a server which is exposing OData services.
I can actually make use of OData client for Objective C to get the data and show on the iPhone.
I am wondering what is the process of posting some data into the server from the iPhone.
Assume I have to just send a simple name to the server how would I do that
Any pointers to clogs/sites which provides examples of iPhone apps consuming OData services.
Regards
Hitesh V
To everyone getting to this question to find more info about OData, here's a pointer to some resources and a quick to-do list:
The official Odata Library for iPhone has moved to Github: https://github.com/OData/OData4ObjC/ (although the link posted by Dan remains valid).
Once you clone the repository, you can run the ./odatagen tool (located in the Frameworks/bin folder) to create a pair of .h/.m files to include in your iOS application.
Once you do so, have a look at the included samples (like the Netflix or ODataSampleApp) to have an idea about how it works.
Hope this helps
I've never heard of OData before, but a little googling finds me an Objective-C OData client for the iphone, here: http://odataobjc.codeplex.com/