I am planning to write a native java application that can get some blogs by searching with a few words. And I know we can get some results by searching on google blog search. So I want to know if I can write such an application by using google blog search. But I found that google seems just offer a javascript API for its blog search. So could anyone tell me how to use google's blog search service in java?
If it's not possible, do you guys know some other services that can do similar thing?
Thanks a lot
Google's blog platform is Blogger, and it provides an API for working with the blogs on that platform. In addition, there are a number of client libraries for this API, including Java.
Here's some resources to help you get started:
Here you can download the Java client library for the Blogger API
Here is the documentation for the Blogger API in general.
You can see information on the different types of API calls you can make here.
And here is a link to the APIs-explorer for the Blogger API, where you can play around with its capabilities
If you're new to using the Google Java Client Libraries for accessing Google APIs, you may also want to look at the documentation for the client libraries in general, here
It looks like by default, the API only supports searching for posts in a given blog, not across all blogs, so you may need to do something clever to achieve your end goal (but it wouldn't be fun if it was given all away for free, right?)
Related
We have Java based CRM and want to integrate facebook campaign management. I checked facebook marketing api and they provide PHP and Python based SDKs. I'm wondering how we can access/consume facebook marketing api in Java, there should be some rest interface which I could not find.
Anyone have idea?
There is newly released Java SDK (beta) for Marketing API: https://github.com/facebook/facebook-java-ads-sdk. You can give a try.
You can use
RestFB
The Marketing API support is currently in a beta state and you may use
it at your own risk. We would like to hear your feedback and hope you
open any issue at Github or write a message to Google Groups.
Here are the Java Docs
http://restfb.com/javadoc/index.html
http://restfb.com/javadoc/com/restfb/types/ads/AdCampaignGroup.html
http://restfb.com/javadoc/com/restfb/types/ads/class-use/AdCampaignGroup.html
Besides RestFB, Spring Social seems to be the best contender:
Java (Spring) by Spring Social - Looks like there is a pull request to integrate the ads management api, but, it hasn't been merged. https://github.com/spring-projects/spring-social-facebook/pull/155/files
Additionally, there is also Facebook4j
http://facebook4j.org/en/index.html
Well, the Marketing API docs are here:
https://developers.facebook.com/docs/marketing-apis
The quickstart is here:
https://developers.facebook.com/docs/marketing-api/quickstart
The reference is here:
https://developers.facebook.com/docs/marketing-api/reference/v2.5
Even if maybe RestFb does not support this, you can always use direct HTTP calls to the Marketing API (for example via Apache HttpComponents).
I am working with some friends on an android application and we want to use data store on google app engine.
Can anyone help me find a tutorial on how to create a connection between the android app and the data store, I couldn't find a good one myself.
Thanks.
I suggest you look at a few, quite recent Google services:
Endpoints will help you create an interface between your server code and your client, including generating a client library and doing OATH2 authentication.
Volley is an Android library that makes it easy to perform the requests to the server. (There are a number of 3rd party alternatives to Volley that are also good.)
Mobile Starter Kit is a simple way to get started, doing everything from the client initially, but with the ability to customize the server later.
Take a look at this Google blog post from a few days ago:
http://googlecloudplatform.blogspot.ca/2013/11/connecting-mobile-developers-to-the-cloud-with-google-cloud-endpoints.html
Those are good starting points, but don't assume you should use the recommended Google services. Endpoints for example, will lock you into GAE and it doesn't sound like you need the multi-platform support it offers. You could just create a REST/JSON servlet using one of many libraries.
I reccomand DropBox API.
It is not what you asked, but I guess you didnt start using the Google API because you are looking for a tutorial..
DropBox API has a lot of info and tutorials and it's kinda easy to handle..
I need some help using the Google API in Java. Basically, I need to create a web application in Java that will call the Google Custom Search Engine (using their API) and retrieve the result.
I have read the Google starting guide, but not sure how to use their API. Can anyone please point me towards some examples or tutorial links.
The download off http://google-api-java-client.googlecode.com/ has all the libraries you'll need, but the samples doesn't have anything specific to Custom Search. The closest you'll get is here: they provide a jar file with source code. It doesn't use the Google Java client library, but might get you started with the REST api.
I am new to MarkLogic Server and hence to have some hands on experience on MarkLogic I wished to get some help from the projects already developed using Java and MarkLogic.
On doing google search, I was unable to find suitable examples and hence I am looking forward to all of you.
Please help me.
Have a look at the developer site for resources. This page includes links to a number of java-based projects:
http://developer.marklogic.com/code
You can connect to MarkLogic over HTTP or using XCC, a library that is similar to JDBC. Here's the guide for XCC:
http://developer.marklogic.com/pubs/5.0/books/xcc.pdf
and the javadocs are here:
http://developer.marklogic.com/pubs/5.0/javadoc/index.html
Finally, there's a great archive of discussion from the developer list on MarkMail:
http://marklogic.markmail.org
Kelly
Kelly's answer is good. Drilling into the dev site a little, try some of the interactive tutorials at http://developer.marklogic.com/try/ninja/index
If you are interested in developing a REST-ful interface, try Corona at http://developer.marklogic.com/try/corona/index
For more sample applications, http://developer.marklogic.com/code has a good list: http://developer.marklogic.com/code/boing-boing might be a good one to start with, and its code is on github.
There are a handful of open-flash-charts tutorials on the web, mostly php from what I can see. I know there is a Java helper class, but I haven't found documentation or examples.
The helper library is also includes in the ofcharts grails plugin.
Java/Groovy or Grails suggestions welcome.
thanks!
One of the single best sources I have found on it is here
From the site: "This site is now mainly used to post examples, help and patches for users requesting help in the OFC2 forum which I occassionally haunt."
Has proven invaluable in my developing Java/Grails charts with it. Bear in mind that you need to do little else to make the charts work than to generate JSON. To that end Grails is ideal - however what you will spend a lot of time working on is structuring that JSON data.
The linked site provides the most detailed JSON API documentation that exists for the different chart types OFC supports.
There is also a Java API reference open source project hosted on Google Code:
http://code.google.com/p/jofc2/
This is the code embedded in the Grails plugin I've been using so the documentation has helped a ton!