SlideShare uma empresa Scribd logo
1 de 16
Access google command list
  from the command line




           Angchakra Rotha
   Major: English Language Teaching
Getting Started
   GoogleCL is a Python command line application that lets you access various Google
    services from command line on Windows, Mac OS X, or Linux. Here we’ll be using the
    Windows version on Windows 7, but it would work the exact same on other platforms.
   Head over to the download link below, and select the correct version for your OS. If you
    want to run it on Windows, select the zip file. Ubuntu users can download and install the
    .deb file.
Download the file
   After downloading the zip file for Windows, extract it as normal and then run the google.exe program in
    the folder.




   After downloading the zip file for Windows, extract it as normal and then run the google.exe program in
    the folder.
 The first time you run Google CL, it
  will create a preferences folder at:
 %USERPROFILE%.googlecl
Bewared!!!
   On one of our tests, we received an error saying that MSVCR71.dll was missing
    from our computer, so GoogleCL couldn’t run. This is a C++ runtime library
    in Windows, and most programs that need it include it with their program
    files. GoogleCL does not include this DLL in the zip file, so we’ll need to
    find a copy for it.




   You’ll likely have many copies of this file throughout your computer, but GoogleCL cannot find
    them. So, do a computer-wide search for msvcr71.dll, and copy one of these files it finds.

Using GoogleCL
   GoogleCL’s syntax is very easy to use and understand. To get
    started, you might want to checkout the readme.txt file
    included. Or, just type help at the prompt to get some quick
    instructions.
   You can use GoogleCL to access services on Picasa, Blogger, YouTube,
    Docs, Contacts, and Calendar via the command line interface, and we’d love
    to see future versions will include support for more items including Gmail and
    Search. For now, though, these services are still useful. Enter help followed
    by a service name to see more info about it and some usage
    examples. Here we see the help for Calendar.
Activating a Service
   When you first use a service, you’ll have to activate your computer with it
    online. For instance, if we wanted to see all the appointments in our
    Calendar, we’d enter Calendar list. You’ll be asked to specify a user; enter
    your Gmail email address. Then, you’ll be prompted to approve the access
    in your browser, and the approval page will automatically open in your default
    browser.
   Click Grant access in the webpage that opens, and then press Enter in
    the GoogleCL window.




   You’ll have to do this for each of the Google services
    you use. Even closely related services like Contacts
    and Calendar have to be activated individually. One
    interesting aspect of this is that you could have different
    Google account associated with different
    services. Once they’re activated, though, it’ll be easy to
    use these services on this computer.
Using GoogleCL
   GoogleCL has tons of functions you can use to interact with Google’s
    services. We’ll look at a few of the functions we found interesting.



Docs
   First, we tried uploading a document to Docs. To do this,
    enter:
   docs upload path_to_your_document
   his may take a minute depending on the size of your document, but once it’s done, you’ll
    see a success message and a link to your document.




   You’re supposed to be able to edit documents by entering:
   docs edit –title “your_document” –editor your_editor
   However, this didn’t work in our tests, and we received an error message. This should
    work in the future, and could have been caused by a problem on our end, but it would
    not work in any of our tests.
   GoogleCL worked great for uploading videos to YouTube. Once you’ve authorized your account, enter:
   youtube post “your_file_path”




   Enter a category name when requested, and GoogleCL will start uploading your video to YouTube. As
    usual, this will take a few minutes depending on the size of your video, but it’s still quicker than going to
    the YouTube page to post a video.




   Note that you may see an error if you enter a category that is not available on YouTube. If so, try
    again, this time entering a correct category.
   For your reference, here’s some of the categories
    you can use from YouTube.com…so make sure
    you use one of them.
Blogger
   GoogleCL makes Blogger into a geekier blogging service. You can review, tag and even create new
    posts on Blogger, all directly from command line. You can write the body of your post in a text file, and
    you can even use HTML markup to make the post look like you want. To do this, enter the following in
    GoogleCL:
   blogger post –title “your_title” path_to_post_file




   Moments later, we had a new blog post with the content from our text file. We could have posted a
    long, well formatted HTML post, but hey, what’s better than the classic geek greeting for a geeky blog
    post?
Conclusion
   Whether you’d like to quickly edit Gmail contact info, upload a
    YouTube video without using the flaky Flash uploader, or make a
    script that automatically makes a post on Blogger when you bang
    your head on the keyboard, GoogleCL gives you the tools you need
    to do more with Google than you though possible. Who said Google
    doesn’t have a cloud OS? When you can interact with a webapp via
    command prompt, suddenly it feels like Google is just another part of
    your computer. We’ve only scratched the surface of what you can
    do with GoogleCL; check out the examples link below for more
    ideas. Let us know what geeky projects you do with GoogleCL!
   Link: http://www.howtogeek.com/howto/23423/access-google-
    services-from-the-command-line/

Mais conteúdo relacionado

Mais procurados

60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開KAI CHU CHUNG
 
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8Jake Borr
 
Aura LA GDG - July 17-2017
Aura LA GDG - July 17-2017Aura LA GDG - July 17-2017
Aura LA GDG - July 17-2017Kristan Uccello
 
Bower - A package manager for the web
Bower - A package manager for the webBower - A package manager for the web
Bower - A package manager for the webLarry Nung
 
Improving the Accumulo User Experience
 Improving the Accumulo User Experience Improving the Accumulo User Experience
Improving the Accumulo User ExperienceAccumulo Summit
 
Dockerfiles building docker images automatically v (workdir, env, add, and ...
Dockerfiles   building docker images automatically v (workdir, env, add, and ...Dockerfiles   building docker images automatically v (workdir, env, add, and ...
Dockerfiles building docker images automatically v (workdir, env, add, and ...ansonjonel
 
Webinar - Manage user, groups, packages in windows using puppet
Webinar - Manage user, groups, packages in windows using puppetWebinar - Manage user, groups, packages in windows using puppet
Webinar - Manage user, groups, packages in windows using puppetOlinData
 
Webinar - Setup MySQL with Puppet
Webinar - Setup MySQL with PuppetWebinar - Setup MySQL with Puppet
Webinar - Setup MySQL with PuppetOlinData
 
The Challenges of Container Configuration
The Challenges of Container ConfigurationThe Challenges of Container Configuration
The Challenges of Container ConfigurationGareth Rushgrove
 
Prototyping in the cloud
Prototyping in the cloudPrototyping in the cloud
Prototyping in the cloudKirsten Hunter
 
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...Puppet
 
Upgrading Grails 1.x to 2
Upgrading Grails 1.x to 2Upgrading Grails 1.x to 2
Upgrading Grails 1.x to 2wbucksoft
 
How to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of DevelopmentHow to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of DevelopmentAcquia
 
Webinar - PuppetDB
Webinar - PuppetDBWebinar - PuppetDB
Webinar - PuppetDBOlinData
 
Gwt.Create Keynote San Francisco
Gwt.Create Keynote San FranciscoGwt.Create Keynote San Francisco
Gwt.Create Keynote San FranciscoRay Cromwell
 
JLPDevs - Optimization Tooling for Modern Web App Development
JLPDevs - Optimization Tooling for Modern Web App DevelopmentJLPDevs - Optimization Tooling for Modern Web App Development
JLPDevs - Optimization Tooling for Modern Web App DevelopmentJLP Community
 

Mais procurados (20)

60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
 
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
 
Aura LA GDG - July 17-2017
Aura LA GDG - July 17-2017Aura LA GDG - July 17-2017
Aura LA GDG - July 17-2017
 
groovy & grails - lecture 10
groovy & grails - lecture 10groovy & grails - lecture 10
groovy & grails - lecture 10
 
Bower - A package manager for the web
Bower - A package manager for the webBower - A package manager for the web
Bower - A package manager for the web
 
Improving the Accumulo User Experience
 Improving the Accumulo User Experience Improving the Accumulo User Experience
Improving the Accumulo User Experience
 
Dockerfiles building docker images automatically v (workdir, env, add, and ...
Dockerfiles   building docker images automatically v (workdir, env, add, and ...Dockerfiles   building docker images automatically v (workdir, env, add, and ...
Dockerfiles building docker images automatically v (workdir, env, add, and ...
 
Webinar - Manage user, groups, packages in windows using puppet
Webinar - Manage user, groups, packages in windows using puppetWebinar - Manage user, groups, packages in windows using puppet
Webinar - Manage user, groups, packages in windows using puppet
 
Webinar - Setup MySQL with Puppet
Webinar - Setup MySQL with PuppetWebinar - Setup MySQL with Puppet
Webinar - Setup MySQL with Puppet
 
Git setuplinux
Git setuplinuxGit setuplinux
Git setuplinux
 
The Challenges of Container Configuration
The Challenges of Container ConfigurationThe Challenges of Container Configuration
The Challenges of Container Configuration
 
Prototyping in the cloud
Prototyping in the cloudPrototyping in the cloud
Prototyping in the cloud
 
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...
PuppetConf 2016: Getting to the Latest Puppet – Nate McCurdy & Elizabeth Witt...
 
Gradle Introduction
Gradle IntroductionGradle Introduction
Gradle Introduction
 
Upgrading Grails 1.x to 2
Upgrading Grails 1.x to 2Upgrading Grails 1.x to 2
Upgrading Grails 1.x to 2
 
How to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of DevelopmentHow to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of Development
 
Webinar - PuppetDB
Webinar - PuppetDBWebinar - PuppetDB
Webinar - PuppetDB
 
Gwt.Create Keynote San Francisco
Gwt.Create Keynote San FranciscoGwt.Create Keynote San Francisco
Gwt.Create Keynote San Francisco
 
Gaelyk
GaelykGaelyk
Gaelyk
 
JLPDevs - Optimization Tooling for Modern Web App Development
JLPDevs - Optimization Tooling for Modern Web App DevelopmentJLPDevs - Optimization Tooling for Modern Web App Development
JLPDevs - Optimization Tooling for Modern Web App Development
 

Semelhante a Access google command list from the command line

Google Drive Tips and Tricks
Google Drive Tips and TricksGoogle Drive Tips and Tricks
Google Drive Tips and TricksAttachments.io
 
Ready the Technology
Ready the TechnologyReady the Technology
Ready the Technologyjhucte
 
presentationcloud-18123333331185718.pptx
presentationcloud-18123333331185718.pptxpresentationcloud-18123333331185718.pptx
presentationcloud-18123333331185718.pptxMuhammadAbdullah311866
 
Introduction to using google colab
Introduction to using google colabIntroduction to using google colab
Introduction to using google colabali alemi
 
Google docs m
Google docs m Google docs m
Google docs m u2903478
 
Google tools 101 the kuyu project
Google tools 101   the kuyu projectGoogle tools 101   the kuyu project
Google tools 101 the kuyu project✅ Jo Webber
 
Group3 storyboardscript
Group3 storyboardscriptGroup3 storyboardscript
Group3 storyboardscriptgawnelis
 
Web 2 Anyone Can Do It
Web 2 Anyone Can Do ItWeb 2 Anyone Can Do It
Web 2 Anyone Can Do ItDebbi Ball
 
Web 2 Anyone Can Do It
Web 2 Anyone Can Do ItWeb 2 Anyone Can Do It
Web 2 Anyone Can Do ItDebbi Ball
 
Introduction to Google Cloud Connect
Introduction to Google Cloud ConnectIntroduction to Google Cloud Connect
Introduction to Google Cloud Connectrm02057
 
Google Drive Integration in Odoo
Google Drive Integration in OdooGoogle Drive Integration in Odoo
Google Drive Integration in OdooAnisha Technaureus
 
assignment IMD113 (cloud storage)
assignment IMD113 (cloud storage)assignment IMD113 (cloud storage)
assignment IMD113 (cloud storage)Hiz Farhan
 
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxCloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxAkashSrivastava519152
 
Google presentation
Google presentationGoogle presentation
Google presentationAmy Cantone
 
Google presentation
Google presentationGoogle presentation
Google presentationAmy Cantone
 
What is Google docs
What is Google docsWhat is Google docs
What is Google docsmeerasaqer
 

Semelhante a Access google command list from the command line (20)

Google Drive Tips and Tricks
Google Drive Tips and TricksGoogle Drive Tips and Tricks
Google Drive Tips and Tricks
 
Ready the Technology
Ready the TechnologyReady the Technology
Ready the Technology
 
presentationcloud-18123333331185718.pptx
presentationcloud-18123333331185718.pptxpresentationcloud-18123333331185718.pptx
presentationcloud-18123333331185718.pptx
 
Introduction to using google colab
Introduction to using google colabIntroduction to using google colab
Introduction to using google colab
 
Google Apps
Google Apps Google Apps
Google Apps
 
Google docs m
Google docs m Google docs m
Google docs m
 
Google tools 101 the kuyu project
Google tools 101   the kuyu projectGoogle tools 101   the kuyu project
Google tools 101 the kuyu project
 
Group3 storyboardscript
Group3 storyboardscriptGroup3 storyboardscript
Group3 storyboardscript
 
Web 2 Anyone Can Do It
Web 2 Anyone Can Do ItWeb 2 Anyone Can Do It
Web 2 Anyone Can Do It
 
Web 2 Anyone Can Do It
Web 2 Anyone Can Do ItWeb 2 Anyone Can Do It
Web 2 Anyone Can Do It
 
Google Apps
Google AppsGoogle Apps
Google Apps
 
Borbajo google drive .pptx
Borbajo google drive .pptxBorbajo google drive .pptx
Borbajo google drive .pptx
 
Introduction to Google Cloud Connect
Introduction to Google Cloud ConnectIntroduction to Google Cloud Connect
Introduction to Google Cloud Connect
 
Google Drive Integration in Odoo
Google Drive Integration in OdooGoogle Drive Integration in Odoo
Google Drive Integration in Odoo
 
assignment IMD113 (cloud storage)
assignment IMD113 (cloud storage)assignment IMD113 (cloud storage)
assignment IMD113 (cloud storage)
 
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxCloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
 
Google presentation
Google presentationGoogle presentation
Google presentation
 
Google presentation
Google presentationGoogle presentation
Google presentation
 
What is Google docs
What is Google docsWhat is Google docs
What is Google docs
 
Google Drive tutorial
Google Drive tutorialGoogle Drive tutorial
Google Drive tutorial
 

Último

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Último (20)

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Access google command list from the command line

  • 1. Access google command list from the command line Angchakra Rotha Major: English Language Teaching
  • 2. Getting Started  GoogleCL is a Python command line application that lets you access various Google services from command line on Windows, Mac OS X, or Linux. Here we’ll be using the Windows version on Windows 7, but it would work the exact same on other platforms.  Head over to the download link below, and select the correct version for your OS. If you want to run it on Windows, select the zip file. Ubuntu users can download and install the .deb file.
  • 3. Download the file  After downloading the zip file for Windows, extract it as normal and then run the google.exe program in the folder.  After downloading the zip file for Windows, extract it as normal and then run the google.exe program in the folder.
  • 4.  The first time you run Google CL, it will create a preferences folder at:  %USERPROFILE%.googlecl
  • 5. Bewared!!!  On one of our tests, we received an error saying that MSVCR71.dll was missing from our computer, so GoogleCL couldn’t run. This is a C++ runtime library in Windows, and most programs that need it include it with their program files. GoogleCL does not include this DLL in the zip file, so we’ll need to find a copy for it.  You’ll likely have many copies of this file throughout your computer, but GoogleCL cannot find them. So, do a computer-wide search for msvcr71.dll, and copy one of these files it finds.
  • 6.
  • 7. Using GoogleCL  GoogleCL’s syntax is very easy to use and understand. To get started, you might want to checkout the readme.txt file included. Or, just type help at the prompt to get some quick instructions.
  • 8. You can use GoogleCL to access services on Picasa, Blogger, YouTube, Docs, Contacts, and Calendar via the command line interface, and we’d love to see future versions will include support for more items including Gmail and Search. For now, though, these services are still useful. Enter help followed by a service name to see more info about it and some usage examples. Here we see the help for Calendar.
  • 9. Activating a Service  When you first use a service, you’ll have to activate your computer with it online. For instance, if we wanted to see all the appointments in our Calendar, we’d enter Calendar list. You’ll be asked to specify a user; enter your Gmail email address. Then, you’ll be prompted to approve the access in your browser, and the approval page will automatically open in your default browser.
  • 10. Click Grant access in the webpage that opens, and then press Enter in the GoogleCL window.  You’ll have to do this for each of the Google services you use. Even closely related services like Contacts and Calendar have to be activated individually. One interesting aspect of this is that you could have different Google account associated with different services. Once they’re activated, though, it’ll be easy to use these services on this computer.
  • 11. Using GoogleCL  GoogleCL has tons of functions you can use to interact with Google’s services. We’ll look at a few of the functions we found interesting. Docs  First, we tried uploading a document to Docs. To do this, enter:  docs upload path_to_your_document
  • 12. his may take a minute depending on the size of your document, but once it’s done, you’ll see a success message and a link to your document.  You’re supposed to be able to edit documents by entering:  docs edit –title “your_document” –editor your_editor  However, this didn’t work in our tests, and we received an error message. This should work in the future, and could have been caused by a problem on our end, but it would not work in any of our tests.
  • 13. GoogleCL worked great for uploading videos to YouTube. Once you’ve authorized your account, enter:  youtube post “your_file_path”  Enter a category name when requested, and GoogleCL will start uploading your video to YouTube. As usual, this will take a few minutes depending on the size of your video, but it’s still quicker than going to the YouTube page to post a video.  Note that you may see an error if you enter a category that is not available on YouTube. If so, try again, this time entering a correct category.
  • 14. For your reference, here’s some of the categories you can use from YouTube.com…so make sure you use one of them.
  • 15. Blogger  GoogleCL makes Blogger into a geekier blogging service. You can review, tag and even create new posts on Blogger, all directly from command line. You can write the body of your post in a text file, and you can even use HTML markup to make the post look like you want. To do this, enter the following in GoogleCL:  blogger post –title “your_title” path_to_post_file  Moments later, we had a new blog post with the content from our text file. We could have posted a long, well formatted HTML post, but hey, what’s better than the classic geek greeting for a geeky blog post?
  • 16. Conclusion  Whether you’d like to quickly edit Gmail contact info, upload a YouTube video without using the flaky Flash uploader, or make a script that automatically makes a post on Blogger when you bang your head on the keyboard, GoogleCL gives you the tools you need to do more with Google than you though possible. Who said Google doesn’t have a cloud OS? When you can interact with a webapp via command prompt, suddenly it feels like Google is just another part of your computer. We’ve only scratched the surface of what you can do with GoogleCL; check out the examples link below for more ideas. Let us know what geeky projects you do with GoogleCL!  Link: http://www.howtogeek.com/howto/23423/access-google- services-from-the-command-line/