DOC PREVIEW
USC CSCI 571 - GoogleAPIsTake2-1

This preview shows page 1-2-3-4-25-26-27-51-52-53-54 out of 54 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Google APIsWhat We’ll Talk AboutSlide 3Google APIs: Data protocolsGData API: IntroductionGData API: Google Products that Support ItGData API: MotivationsGData API: Use CasesSlide 9GData API: Comparing RSS 2.0 to ATOM 1.0Slide 11GData API: Element Collections (“Kinds”)GData API: The Event “Kind”GData API: Event “Kind” ExampleGData API: Service Specific ElementsGData API: JSON Output - Alternative to XMLJSONJSON Simple ExampleJavascript: The J in JSONJSON: Google Spreadsheets ExampleGData API: HTTP Verbs / Methods and UsageGData API: Using GETGData API: Using POST to Create EntryGData API: Using GET with a Query (“Searching!”)Google Calendar APIGoogle Calendar API: OverviewGoogle Calendar API: Feed TypesGoogle Calendar API: Feed Types ExamplesGoogle Calendar API: Special Query ParametersGoogle Calendar API: Creating an Event (Raw HTTP)Google Calendar API: Creating an Event (Java Lib)Google Calendar API: Example MashupsGoogle Spreadsheets Data APIGoogle Spreadsheets Data API: MotivationsGoogle Spreadsheets Data API: OverviewGoogle Spreadsheets Data API: List Feed Special Query ParametersGoogle Spreadsheets Data API: Cell Feed Special Query ParametersGoogle Spreadsheets Data API: Example QueryGoogle Spreadsheets Data API: Example JSON QueryGoogle Spreadsheets Data API: Example MashupsSlide 41Slide 42Google Gadgets APIGoogle Gadgets API: OverviewGoogle Gadgets API: Basic ExampleGoogle Gadgets API: Defining User PreferencesGoogle Gadgets API: AJAXGoogle Gadgets API: More FeaturesGoogle Gadgets API: ExamplesGoogle APIs: Easy to Mash Together!QuestionsGData API: Using PUT to UpdateGData API: Using DELETEGData API: ATOM to JSON conversion1Google APIsPamela Fox2What We’ll Talk AboutGoogle APIsGData Protocol–JSON–Google Calendar API–Google Spreadsheets APIGoogle Gadgets API3Google APIsOur mission: “Organize the world’s information and make it universally accessible and useful”Most of our APIs allow you programmatic access to a already existent Google product, and represent a subset of what that product can do30 Google APIs on http://code.google.com… and counting! –Google Account Authentication–AdSense API–AdWords API–Google AJAX Search API–Google Base Data API–Blogger Data API–Google Calendar Data API–Google Code Search Data API–Google Data APIs–Google Desktop SDK–Google Earth KML–Google Gadgets API –Gmail Atom Feeds–Google Apps APIs•Google Checkout API•Google Web Toolkit•Google Groups Feeds•Google Maps API•Google News Feeds•Google Notebook Data API•Picasa Web Albums Data API•Google Related Links•Google Search Appliance APIs•Google Search History Feeds•Google Sitemaps•Google Spreadsheets Data API•Google Talk XMPP•Google Toolbar API•Google SOAP Search API•YouTube API4Google APIs: Data protocolsGoogle APIs can be loosely categorized as either REST or JavaScript:REST –ATOM (GData) – •Google Calendar, Google Base, Google Spreadsheets•GMail, Google Groups, Picasa Web Albums•Etc.–KML (Google Earth Markup Language)–Sitemap protocol (inform search engines about URLs on your websites that are available for crawling) SOAP–AdSense (Delivers text-based Google AdWords ads that are relevant to site content pages.) –Search (‘deprecated’ – no more developer keys given out)JavaScript–Google Maps API–Google Ajax Search–Google GadgetsThe REST/SOAP APIs can be accessed by many languages, using official Google client libraries (java, python), or by writing your own wrapper in your favorite language.The REST APIs only provide write access through server-side scripts.5GData API: IntroductionThe Google data APIs ("GData" for short) provide a simple standard protocol for reading and writing data on the web. GData is a standards-based protocol that uses Atom and RSS as XML-based formats for feeds and data interchange Atom 1.0 –Allows for extensions Atom Publishing Protocol (APP) – –Defines PUT/POST/DELETE operationsRSS 2.0–Commonly accepted syndication formathttp://code.google.com/apis/gdata/overview.htmlGDataAtom / APPRSSSyndication Format* * *Updates* *Authentication*Queries*Optimistic Concurrency*6GData API: Google Products that Support ItGoogle Apps Provisioning (allows website administrators to offer their users cobranded versions of Google applications, such as Gmail) Google Base (http://base.google.com)Blogger Google Calendar Google Code Search Google Notebook Google Spreadsheets Picasa Web Albums Note: Some of these are read-only.7GData API: MotivationsGoogle's mission is to organize the world's information and make it universally accessible and useful. Sometimes making information accessible requires making it available in contexts other than a web browser. Thus, Google provides APIs to let client software request information outside of a browser context.GData provides a general model for feeds, queries, and results. You can use it to send queries and updates to any service that has a GData interface.Syndication is an effective and popular method for providing and aggregating content. GData provides a way to expand the types of content that Google can make available through syndication; in particular, it lets you use the syndication mechanism to send queries and receive query results.8GData API: Use CasesBase–Inventory systemsCalendar–Migration–Synchronization•Other calendar systems •Mobile devices–Public calendars–Internal applications–Desktop applicationsPicasa–Migration from Flickr!–Publishing to your websiteSpreadsheets–Pretty much anything that could be done with a database9GData API: Use CasesOften, a developer will create an app that compensates for something that the Google product is lacking, at least from their perspective.Google creates the application with the core functionality, and through the APIs, allows developers to specializes it for their needs.i.e. Google does the hard stuff, developers do the fun stuff Case in point – Calgoo: “Calgoo is free online/offline software that allows you to: Bring together iCal, Outlook and Google calendars in one view, Use your calendars offline and sync them when you go online”10GData API: Comparing RSS 2.0 to ATOM 1.0<?xml version="1.0" encoding="utf-8"?><rss version="2.0"> <channel> <title>Example Feed</title> <description>Witty remark here</description> <link>http://example.org/</link> <lastBuildDate>Sat, 13 Dec 2003 18:30:02 GMT</lastBuildDate>


View Full Document

USC CSCI 571 - GoogleAPIsTake2-1

Download GoogleAPIsTake2-1
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view GoogleAPIsTake2-1 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view GoogleAPIsTake2-1 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?