[Haskell-cafe] Google Cloud API
brendan.g.hay at gmail.com
Thu Aug 27 06:14:52 UTC 2015
I'd recently generated a limited operation set for personal use. I had no
plans to continue with the entire API surface, but I'll tidy up what I have
and put it on GitHub if others are interested.
On 27 August 2015 at 00:37, Mark Fine <mark.fine at gmail.com> wrote:
> 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
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe