On Friday, August 26, 2011 12:32:20 AM UTC-5, bradfitz wrote:
Now with docs:
http://code.google.com/p/google-api-go-client/wiki/GettingStarted
Now with docs:
http://code.google.com/p/google-api-go-client/wiki/GettingStarted
I followed GettingStarted wiki and in the end endup with following issue.
http://code.google.com/p/google-api-go-client/issues/detail?id=18
All the examples have "RegisterDemo" functions are not defined in the
google-api-go-client library.
tj
On Thu, Aug 25, 2011 at 1:51 PM, Brad Fitzpatrick <brad...@golang.org<javascript:>
--wrote:
Nuts,
I'm happy to announce the *alpha* availability of Go libraries for
various Google APIs:
http://code.google.com/p/google-api-go-client/
In particular, all "new-style" Google APIs are supported. For some
background, see
http://www.google.com/events/io/2011/sessions/life-of-a-google-api-developer.html .
In summary, all new and upcoming Google APIs are self-describing (see
http://code.google.com/apis/discovery/ ) and from the JSON description
of an API you can generate a client library for any language (now including
Go). Older Google APIs that haven't [yet?] converted to the new-style API
infrastructure aren't supported by this.
The google-api-go-client project linked above contains both the code
generator as well as the auto-generated and goinstall-able packages for
each Google API, like:
$ goinstall google-api-go-client.googlecode.com/hg/urlshortener/v1
... for the http://goo.gl/ URL Shortener API.
Note that it currently requires a tip version of Go, though, not the r59
release. Once I'm happy that the code is relatively bug-free and it
graduates from alpha to beta, then I'll make sure it works with the
"release" version of Go. Until then, though, it's much easier for me to
only work at tip.
If you have any interest, please help me bang on this and find bugs.
(Warning: I promise there are bugs) Please file bugs at
http://code.google.com/p/google-api-go-client/issues/list and I'll fix
them. There are some examples in the examples directory:
http://code.google.com/p/google-api-go-client/source/browse/#hg%2Fexamples
Enjoy!
Brad
Nuts,
I'm happy to announce the *alpha* availability of Go libraries for
various Google APIs:
http://code.google.com/p/google-api-go-client/
In particular, all "new-style" Google APIs are supported. For some
background, see
http://www.google.com/events/io/2011/sessions/life-of-a-google-api-developer.html .
In summary, all new and upcoming Google APIs are self-describing (see
http://code.google.com/apis/discovery/ ) and from the JSON description
of an API you can generate a client library for any language (now including
Go). Older Google APIs that haven't [yet?] converted to the new-style API
infrastructure aren't supported by this.
The google-api-go-client project linked above contains both the code
generator as well as the auto-generated and goinstall-able packages for
each Google API, like:
$ goinstall google-api-go-client.googlecode.com/hg/urlshortener/v1
... for the http://goo.gl/ URL Shortener API.
Note that it currently requires a tip version of Go, though, not the r59
release. Once I'm happy that the code is relatively bug-free and it
graduates from alpha to beta, then I'll make sure it works with the
"release" version of Go. Until then, though, it's much easier for me to
only work at tip.
If you have any interest, please help me bang on this and find bugs.
(Warning: I promise there are bugs) Please file bugs at
http://code.google.com/p/google-api-go-client/issues/list and I'll fix
them. There are some examples in the examples directory:
http://code.google.com/p/google-api-go-client/source/browse/#hg%2Fexamples
Enjoy!
Brad