20110721

servicios de google desde linea de comandos

Para usar los servicios de google



$ apt-get install googlecl
$ google calendar list
Please specify user: petrohs
Please log in and/or grant access via your browser at https://www.google.com/accounts/OAuthAuthorizeToken?... then hit enter.
#pide autorizacion web
[petrohs]
pru2,Jul 21 18:59 - Jul 21 19:59
grfgdff,Jul 21 19:30 - Jul 21 20:30
07/21 pru3,Jul 21 20:00 - Jul 21 21:00
prueba,Jul 22 18:00 - Jul 22 19:00

$ google calendar today
[petrohs]
pru2,Jul 21 18:59 - Jul 21 19:59
grfgdff,Jul 21 19:30 - Jul 21 20:30
07/21 pru3,Jul 21 20:00 - Jul 21 21:00

$ google calendar add nuevo
$ google calendar today
[petrohs]
pru2,Jul 21 18:59 - Jul 21 19:59
grfgdff,Jul 21 19:30 - Jul 21 20:30
nuevo,Jul 21 19:33 - Jul 21 20:33
pru3,Jul 21 20:00 - Jul 21 21:00

$ google contacts list > respaldoContactosGMAIL.txt

$ google help
Welcome to the Google CL tool!
Commands are broken into several parts:
service, task, options, and arguments.
For example, in the command
"> picasa post --title "My Cat Photos" photos/cats/*"
the service is "picasa", the task is "post", the single
option is a title of "My Cat Photos", and the argument is the
path to the photos.

The available services are
'picasa', 'blogger', 'youtube', 'docs', 'contacts', 'calendar'
Enter "> help " for more information on a service.
Or, just "quit" to quit.

$ google blogger post --title 'servicios de google desde linea de comandos' --tags 'tips,google' /tmp/ss.txt
0) -- opochtli --
1) matando zombis asociación civil
2) -patohs-
3) temacilli
Please select one of the items by number: 0

1 comentario:

Anónimo dijo...

gracias, alimentas la mania consola