[squeak-dev] OpenWeatherMap.org api?

Tobias Pape Das.Linux at gmx.de
Fri Jul 15 09:23:18 UTC 2016

On 14.07.2016, at 02:35, tim Rowledge <tim at rowledge.org> wrote:

> Thanks Frank,
>> On 13-07-2016, at 2:25 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
>> On 13 July 2016 at 11:24, tim Rowledge <tim at rowledge.org> wrote:
>> I don’t suppose anyone has already written stuff to connect to www.openweathermap.org site?
> {snip}
>> It's not Squeak, but here's a blog post describing how to do it with F#: http://evelinag.com/blog/2014/09-15-introducing-ariadne/journal/WeatherData.html
> OK, so for some reason that made me think of Json, which reminded about a mail a few days ago on the "Re: rice paper background in trunk? “ thread that mentioned loading a package called JSON. So I installed it and to my surprise
> `Json readFrom: (WebClient httpGet: ‘http://api.openweathermap.org/data/2.1/find/name?q=Nanaimo,CA') content readStream`
> returned a completely plausible result. Cool! Quick, I must add “JSon expertise” to my LinkedIn page :-)

Oh, by the way, I asked Tony, and he's ok with including JSON into trunk.
I would really like that and car for it :)

> Now all I need to do is develop a little understanding of what on earth it is all about. Pointers to very, very, basic doc appreciated.
> tim

More information about the Squeak-dev mailing list