I have 1 blog say xyz.blogspot.com,now am uploading my own website,so I want to integrate my BLOG in my website.along with that I would like to import comments if possible.
will be coding the logic in java only.
did googling,but was unable to find some relevant solution.
Here are some resources that may be helpful:
Blogger API
Blogger Feed URLs
Blogger custom domain
Note: FTP publishing will no longer be supported after March 26.
Related
I am a newbie android developer and need to create an app that uploads a .zip file to Google Drive, Downloaded the API but where do I add the code, and how? Please provide a code example.
What do you mean by "downloaded the api"?
Drive has some pretty good documentation on instantiating the drive client as well as an activity to demonstrate different use cases. These may be all the examples you need.
Drive Examples
You can find good examples in the documentation for the Drive API
https://developers.google.com/drive/android/examples/
Or look here: https://developers.google.com/drive/android/intro to find some more explanation about how it all works
I want to make an app which will use Google's Blogger API V3. But I've got stuck at the setup part. I've made an API key on developer console. I've read trough several tutorials and samples and everywhere they use this object
Blogger
For example here:
Blogger example
I downloaded the Java client library, copied to my application's libs folder, added to the build path, but still can't use this Blogger object.
Java client library
Where can I get the library that contains the Blogger object?
It depends what do you want to do with the Blogger API. If you want to access non-public data you should use Oauth2.0 to authenticate so for that I suggest reading this
https://developers.google.com/android/guides/http-auth#retrieve_the_account_name
Then you will probably want to send request to your API (POST,GET, DELETE or others) in order to perform actions such as post on your blog, retrieve comments or posts from your blog.
I have found this link very usefull
http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/
I asked the same question on google developer forum, looking for clear direction for the same.
I am working on a project to get meaning of English word. And Google search engine provides result comprehensively. I would like to have those results (meaning of words, it's synonym, audio source from gstatic, usage graph since 1800, etc...) as input to my program for further processing. Is Custom search engine has exposed API or Google have explicit API for this? Earlier i thought of screen scraping, but it would be much easier if Google provide API for this as well.
Thanks in Anticipation.
Check out Wikitionary
Wiktionary (whose name is a blend of the words wiki and dictionary) is
a multilingual, web-based project to create a free content dictionary
of all words in all languages. It is available in 172 languages and in
Simple English. Like its sister project Wikipedia, Wiktionary is run
by the Wikimedia Foundation, and is written collaboratively by
volunteers, dubbed "Wiktionarians". Its wiki software, MediaWiki,
allows almost anyone with access to the website to create and edit
entries.
You can access their data using the MediaWiki API, no need to scrape google search results.
Which is the right API for manipulating Spreadsheets?
They somehow removed Spreadsheets v3 from the api selection in the project settings.Yet it's available at the OAuth Playground...
Is it just the Drive API v2 now?
Why do they have to change everything so fast and leave no documentation at all...
Even their gdata-samples.java-1.47.1 are outdated since most still use OAuth 1.0The GData Java Doc ist really horrible and their examples are so pointlessly bloated
Although Sheets API does not appear in the list of API Libray, you can create an Oauth2 client or Public API access to use it. Sheets API is accessible by default, and we do not have to explicitly enable it.
OAuth 2.0 allows users to share specific data with you (for example, contact lists) while keeping their usernames, passwords, and other information private.
Manipulate spreadsheets
Use the Spreadsheets v3 (Gdata) API
If I remember, you just need OAuth2 setting up. Or an API password is an easy way to test things, as the OAuth2 setup is a pain.
Google-apps-script
There is also 'Google-apps-script', it can edit spreadsheets and much more. It is High level compared to GData and has far more features and can do many things that Gdata can't but gdata has better fine grain control.
Drive API
Drive API is good if you want to download the whole spreadsheet as PDF/CSV or something. But not for making changes to cells.
Ethercalc
There is also ethercalc, open source, so gives you much more control.
I'm developing an application in which user can search for a specific book and read it and purchase it. I want to use GData book search API for that. Can anyone tell me in which format I will get response as well as how to send request for book search? I have seen GData documentation, but not getting much ideas. Please help me.
You are going to have to send an HTTP GET request as seen here. That will return some xml that you will have to parse. Each book is an <entry> with lots of items and <link>s to things such as a thumbnail of the book's cover, like this:
All the information that you really care about though, will be sent after that, and will be in an item that has a dc prefix on it, such as <dc:title>Pride and Prejudice</dc:title>
You really should just be reading the documentation though, because it will be more thorough than anyone on here will care to be.
You have to use feed parser for this . Hit this URL in your IE and see the response. It will return feed. You just need feed parser to parse this and show in your application.
Google Books Feeds
If you are using Java than you should use official Google APIs Client Library for Java.
Here are detailed docs hot to use it with Google Books.
NOTE 1: Google Books API provides book search, but does not provide access to content. For this you must use Embedded Viewer API. This is a Javascript only API so it must be used inside a browser. If you plan to use it with Android you will most probably need to use the embedded WebView which can show HTML and Javascript.
NOTE 2: Commercial books can be searched with Google Books, but they must be purchased before they are available in users library. AFAIK there is no API to purchase books.