Andrew Odewahn, editor of Baseball Hacks, sent in a link to this great article about how to display batting statistics in a Google Gadget:
This article demonstrates how to use several Google Code APIs using a baseball hack as an example. We will create a Google Gadget that displays Major League Baseball batting statistics. You will learn about Google Gadgets, the Google Spreadsheet API, and the Google Chart API. After reading this article, you’ll have a good idea of the sorts of applications you can build using these APIs, know enough to get started writing your own applications, and know where to get more detailed information. This is the first article in the Google Code baseball hacks series.
The code is based on Hack #25 from Baseball Hacks, “Spider Baseball Sites for Data”, and it’s the first in a series of Google Code Baseball Hacks articles. Google Code baseball hacks: Display batting stats in a Google Gadget