What's new? | Help | Directory | Sign in
Google
gdata-scala-client
The GData Scala Client library provides easy access to Google Data API
  
  
  
  
    
License: Apache License 2.0
Labels: Scala, GData, XML
Show all Featured Downloads:
gdata-scala-client-0.1.jar
Join project
Project owners:
  jaguarul
Project members:
Burak.Emir

The Google Data Scala client library allows client software to connect to Google Services through the Google Data API protocol. It makes it easy to retrieve and modify data exposed by services like Calendar or YouTube, without worrying about the underlying XML representation or how queries are made.

Currently it supports the following services:

Here's a sample of what you can do:

  val s = new YouTubeService("test")
  for (v <- s.getVideos(Query.empty / "Comedy" matching Text("carlin")) {
    for (relatedFeed <- s.getRelatedVideos(v);
         relatedVideo <- relatedFeed)
      println(relatedVideo.title)

or

for (e <- s.getEvents("private", "full", q matching Text("Tennis"))) {
  e.locations = List(Where[s.contacts.Entry]("Vidy, Lausanne", Schemas.EVENT))
  s.updateEvent(e)
}

For more information, see the User's guide.