<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Google API on Lin's Blog</title><link>https://coder.tw/en/tags/google-api/</link><description>Recent content in Google API on Lin's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 30 Apr 2011 20:49:46 +0000</lastBuildDate><atom:link href="https://coder.tw/en/tags/google-api/index.xml" rel="self" type="application/rss+xml"/><item><title>Using ClientLogin to Get Access to a Google Account</title><link>https://coder.tw/en/posts/use-clientlogin-google-account/</link><pubDate>Sat, 30 Apr 2011 20:49:46 +0000</pubDate><guid>https://coder.tw/en/posts/use-clientlogin-google-account/</guid><description>&lt;p&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-30_200036.jpg"&gt;&lt;img class="size-full wp-image-435 aligncenter" title="2011-04-30_200036" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-30_200036.jpg" alt="" width="507" height="453" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google offers many APIs that make it easy for you to access its services. For example, the Google Contacts API requires you to get permission before you can use it. In this post, I&amp;rsquo;ll cover ClientLogin, which I personally think is the simplest way to get permission. It works in a simple way: you send your account name and password to Google over http, and Google sends back a string of data that includes an authorization token. With that token, you can access Google&amp;rsquo;s various services (such as Contacts, Calendar, Notebook, and so on).&lt;/p&gt;</description></item><item><title>[Google API] Generating QR Codes with the Google Chart API, with PHP Example Code</title><link>https://coder.tw/en/posts/google-chart-api-qr-code-php/</link><pubDate>Thu, 24 Feb 2011 23:25:20 +0000</pubDate><guid>https://coder.tw/en/posts/google-chart-api-qr-code-php/</guid><description>&lt;p&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-24_230500.jpg"&gt;&lt;img class="size-large wp-image-328 aligncenter" title="2011-02-24_230500" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-24_230500-540x396.jpg" alt="" width="540" height="396" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this post, I&amp;rsquo;ll show you how to make QR codes with the Google Chart API. A QR code is the two-dimensional barcode that&amp;rsquo;s very popular right now. Generating a 2D barcode used to be a hassle, but with the Google Chart API, you can quickly generate a QR code from just a URL. I originally planned to write a post dedicated to the Google Chart API, but I decided to split it up instead~ (I also happened to come across the site &lt;a href="http://www.dotblogs.com.tw/shadow/archive/2011/02/24/21557.aspx" target="_blank"&gt;Shadow&amp;rsquo;s Tech Database&lt;/a&gt;, which introduces it, and I couldn&amp;rsquo;t resist writing about it~)&lt;/p&gt;</description></item><item><title>Google Weather API - Get a Full Week of Weather Data</title><link>https://coder.tw/en/posts/google-weather-api-weekly-forecast-2/</link><pubDate>Fri, 04 Feb 2011 00:48:56 +0000</pubDate><guid>https://coder.tw/en/posts/google-weather-api-weekly-forecast-2/</guid><description>&lt;p style="text-align: center;"&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-04_004255.jpg"&gt;&lt;img class="size-large wp-image-4648 aligncenter" title="2011-02-04_004255" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-04_004255-520x416.jpg" alt="" width="520" height="416" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;strong&gt;Google Weather API&lt;/strong&gt; is something I discovered today. I wanted to add a weather lookup feature to the Plurk bot I've been developing recently, so I searched online for ways to get weather data. My original plan was to read the Central Weather Bureau's web pages and parse the data there. But then I found that both Google and Yahoo offer weather APIs. I preferred the Google Weather API, because it returns XML, which is easier to parse. Yahoo, on the other hand, returns HTML... Also, the Google Weather API lets you specify a city name directly. For example, if I want the weather for Taipei City, I just pass "Taipei" to the API. Yahoo's weather API isn't that simple, though. You have to enter a city code, which means I'd need to look up the code for the city I want before I could use Yahoo's API.
&lt;h2&gt;</description></item></channel></rss>