[Haskell-cafe] Google Cloud API
mark.fine at gmail.com
Wed Aug 26 22:37:54 UTC 2015
Would love to hear if anyone's pursuing generating the API's from the discovery
service <https://developers.google.com/discovery/libraries> in a manner
similar to the excellent amazonka for AWS.
On Wed, Aug 26, 2015 at 2:57 PM, Tomas Carnecky <tomas.carnecky at gmail.com>
> I recently migrated some infrastructure from AWS to Google Cloud and
> needed a way to upload a file to a storage bucket. For AWS there's an
> awesome Haskell library (aws), but I couldn't find anything comparable for
> interacting with the Google Cloud APIs.
> While it wouldn't be difficult to write a standalone function for that
> simple task, I decided to package it up in a library. Currently implemented
> is uploading a ByteString to a bucket and some metadata server queries.
> That's all I need currently, but I may add a few more selected APIs in the
> near future (mostly around managing compute instances).
> Adding support for new APIs should be relatively easy, even without having
> to change the library itself. All the internals are exposed to users of the
> library. There is nothing private or hidden. The library gives you access
> to convenience functions to send HTTP requests. That, coupled with a bit of
> JSON/aeson parsing, should cover most use cases.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe