自己写程序实现向docs.google写数据
来源:互联网 发布:域名后面的vip 编辑:程序博客网 时间:2024/05/12 13:44
在找IMC的资料时,无意中发现这个有趣,就记下来,自己写程序实现命令行方式,写内容到docs.google.com(很好用的google在线office系列服务,免费的),以下是文字介绍,还有源码下载。英文水平菜,所以,就不翻译了。更多请访问 www.123de6.cn
这是原文URL
http://www.dnnstuff.com/Download/tabid/298/view/topic/postid/1116/forumid/20/Default.aspx
I put this together quickly to use with SlickRun so I could maintain a log file of things I've done throughout the day. I couldn't find a lot of good samples on how to use the Google API. Both the binaries and the source is included in separate zips. Enjoy.
Quick start
-------------
1. Sign up with Google Docs at http://docs.google.com
2. Create a new spreadsheet, add two columns named 'Date' and 'Item', save spreadsheet as 'Log'
Run from the command line using the following syntax:
GoogleSpreadsheetLog -u "username" -p "password" -item "item to log"
Optional command line parameters
--------------------------------
-ss "spreadsheet" [if you want to override the default spreadsheet name of 'Log']
-ws "worksheet" [if you want to override the default worksheet name of 'Sheet1']
-datecol "date columnname" [if you want to override the default date column name of 'date']
-itemcol "item columnname" [if you want to override the default item column name of 'item']
--debug [turns on debugging mode and outputs some additional items to the console]
Examples
--------
GoogleSpreadsheetLog -u "me@google.com" -p "blah" -item "This is a test"
- logs into google docs as me@google.com with password 'blah', logs item named "This is a test" in 'Log' spreadsheet, Sheet1 worksheet
GoogleSpreadsheetLog -u "me@google.com" -p "blah" -item "This is a test" -ss "Daily Log"
- logs into google docs as me@google.com with password 'blah', logs item named "This is a test" in 'Daily Log' spreadsheet, Sheet1 worksheet
GoogleSpreadsheetLog -u "me@google.com" -p "blah" -item "This is a test" -ss "WhenWhatLog" -datecol "When" -itemcol "What"
- logs into google docs as me@google.com with password 'blah', logs item named "This is a test" in 'WhenWhatLog' spreadsheet, Sheet1 worksheet with columns named "When" for date and "What" for the item
Attachment: GoogleSpreadsheetLog_SOURCE.zip
Attachment: GoogleSpreadsheetLog.zip
Richard Edwards
DNNStuff Founder
- 自己写程序实现向docs.google写数据
- 写程序实现自己的strcpy() 函数
- 写程序,做自己
- 写程序,做自己
- 写程序,做自己
- 写程序,做自己
- 写程序,做自己
- linux c实现用printf向文件内写数据
- 向HDFS 中写数据
- 向优盘写RAW数据
- python向mysql写数据
- mapreduce向hbase写数据
- 向文件中写数据
- linux下自己写的网卡数据转发程序
- linux下实现开机启动自己写的程序
- 自己写syn flood程序
- 自己写的发牌程序!
- 自己写的端口扫描程序
- strcpy实现
- 现在的工作是你必经的过程
- Linux环境进程间通信(三)
- 如何判断客户端的浏览器类型和版本号
- Jakarta-Common-BeanUtils使用笔记
- 自己写程序实现向docs.google写数据
- Linux环境进程间通信(四)
- mail.163.com代码研究
- 如何动态修改ObjectDataSource数据源的查询参数
- 高績效是壓出來的?
- 利用Javascript基于浏览器类型的重定向
- Linux环境进程间通信(五): 共享内存(上)
- Linux环境进程间通信(五): 共享内存(下)
- 职场生存--寓言四则启示