<div dir="ltr">I wasn't aware of the discovery service. I'd be open to adding it to my library (though then it becomes more a google-api library rather than google-cloud).<div><br></div><div>I see that there is no description of the internal metadata service. Maybe it doesn't count as a google api?<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 27, 2015 at 9:07 AM Adrien Haxaire <<a href="mailto:adrien@haxaire.org">adrien@haxaire.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
thank you both, it's going to be helpful!<br>
<br>
Cheers,<br>
Adrien<br>
<br>
<br>
On 2015-08-27 08:14, Brendan Hay wrote:<br>
> I'd recently generated a limited operation set for personal use. I had<br>
> no plans to continue with the entire API surface, but I'll tidy up<br>
> what I have and put it on GitHub if others are interested.<br>
><br>
> On 27 August 2015 at 00:37, Mark Fine <<a href="mailto:mark.fine@gmail.com" target="_blank">mark.fine@gmail.com</a>> wrote:<br>
><br>
>> Great!<br>
>><br>
>> Would love to hear if anyone's pursuing generating the API's from<br>
>> the discovery service [4] in a manner similar to the excellent<br>
>> amazonka for AWS.<br>
>><br>
>> Mark<br>
>><br>
>> On Wed, Aug 26, 2015 at 2:57 PM, Tomas Carnecky<br>
>> <<a href="mailto:tomas.carnecky@gmail.com" target="_blank">tomas.carnecky@gmail.com</a>> wrote:<br>
>><br>
>>> I recently migrated some infrastructure from AWS to Google Cloud<br>
>>> and needed a way to upload a file to a storage bucket. For AWS<br>
>>> there's an awesome Haskell library (aws), but I couldn't find<br>
>>> anything comparable for interacting with the Google Cloud APIs.<br>
>>><br>
>>> While it wouldn't be difficult to write a standalone function for<br>
>>> that simple task, I decided to package it up in a library.<br>
>>> Currently implemented is uploading a ByteString to a bucket and<br>
>>> some metadata server queries. That's all I need currently, but I<br>
>>> may add a few more selected APIs in the near future (mostly around<br>
>>> managing compute instances).<br>
>>><br>
>>> Adding support for new APIs should be relatively easy, even<br>
>>> without having to change the library itself. All the internals are<br>
>>> exposed to users of the library. There is nothing private or<br>
>>> hidden. The library gives you access to convenience functions to<br>
>>> send HTTP requests. That, coupled with a bit of JSON/aeson<br>
>>> parsing, should cover most use cases.<br>
>>><br>
>>> <a href="http://hackage.haskell.org/package/google-cloud" rel="noreferrer" target="_blank">http://hackage.haskell.org/package/google-cloud</a> [1]<br>
>>><br>
>>> <a href="https://github.com/wereHamster/google-cloud#readme" rel="noreferrer" target="_blank">https://github.com/wereHamster/google-cloud#readme</a> [2]<br>
>>><br>
>>> _______________________________________________<br>
>>> Haskell-Cafe mailing list<br>
>>> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a> [3]<br>
>><br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a> [3]<br>
><br>
><br>
><br>
> Links:<br>
> ------<br>
> [1] <a href="http://hackage.haskell.org/package/google-cloud" rel="noreferrer" target="_blank">http://hackage.haskell.org/package/google-cloud</a><br>
> [2] <a href="https://github.com/wereHamster/google-cloud#readme" rel="noreferrer" target="_blank">https://github.com/wereHamster/google-cloud#readme</a><br>
> [3] <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> [4] <a href="https://developers.google.com/discovery/libraries" rel="noreferrer" target="_blank">https://developers.google.com/discovery/libraries</a><br>
><br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br>
--<br>
Adrien Haxaire<br>
<a href="http://www.adrienhaxaire.org" rel="noreferrer" target="_blank">www.adrienhaxaire.org</a> | @adrienhaxaire<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div></div></div>