2024
11
23
2010
07
21
Google Spreadsheets のリストの取得
もし、Google Spreadsheets にログイン中なら、スプレッドシートのリストを取得することは簡単なことだ。次の URL にアクセスすれば、フィードが返ってくる。
https://spreadsheets.google.com/feeds/spreadsheets/private/full
フィードのフォーマットは、次のようなもの。
<?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'> <id> https://spreadsheets.google.com/ feeds/spreadsheets/private/full </id> <updated>2010-07-21T09:40:04.854Z</updated> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#spreadsheet'/> <title type='text'> Available Spreadsheets - ユーザー名@gmail.com </title> <link rel='alternate' type='text/html' href='http://docs.google.com'/> <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://spreadsheets.google.com/ feeds/spreadsheets/private/full'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/ feeds/spreadsheets/private/full'/> <openSearch:totalResults>2</openSearch:totalResults> <openSearch:startIndex>1</openSearch:startIndex> <entry> <id>https://spreadsheets.google.com/ feeds/spreadsheets/private/full/ 識別文字列</id> <updated>2010-07-18T04:44:03.118Z</updated> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/ 2006#spreadsheet'/> <title type='text'></title> <content type='text'>シート名</content> <link rel='http://schemas.google.com/spreadsheets/ 2006#worksheetsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/ feeds/worksheets/識別文字列/private/full'/> <link rel='alternate' type='text/html' href='https://spreadsheets.google.com/ccc ?key=キー値'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/ feeds/spreadsheets/private/full/識別文字列'/> <author> <name>ユーザー名</name> <email>ユーザー名@gmail.com</email> </author> </entry> <entry>> 同上 </entry> </feed>
PR
2010/07/21 (Wed.) Trackback() Comment(0) Google Spreadsheets
Comments
Trackback
Trackback for this entry: