title: Logging into Google with curl?
body: <p>I'm working on a project with Google App Engine.  I am using continuous integration via Travis, and wish to be able to deploy directly from it.  Due to a bug that <a href="https://github.com/travis-ci/dpl/issues/389" rel="nofollow">will not be resolved directly</a>, I <strong>can't</strong> rely on Travis' built-in GAE deployment, so I basically have to use <code>mvn appengine:update</code> manually.  This requires me navigate to a generated URL and <strong>manually paste to the terminal</strong> an authentication code, which I can't do in automated builds.</p>
  
  <p>It was suggested to me, however, that I do some Unix magic instead.  While I can easily pick out the URL I need to navigate to from <code>grep</code>, I still need to log in to Google with my credentials in order to actually get the authentication code (which I can then <code>grep</code> out and pipe to the deployment program).</p>
  
  <p>Given that, <strong>how do I log in to Google with my credentials, using only <code>curl</code> or similar command-line utilities?</strong></p>