On 5 December 2017 at 20:44, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > >> On 5 Dec 2017, at 13:33, Ben Coman <b...@openinworld.com> wrote: >> >> @esteban, thx, I'll take a look at mastodon. >> >> @peter, I remember playing with the Google API when Richard published >> that. thx for the reminder. >> >> @sven, I started reading Enterprise Pharo a couple of hours ago. >> I don't quite get your section references. I presume you >> don't mean "chapter 11 Persisting Objects with Voyage, 11.3 Enhancing >> Storage" >> That seems off topic. And "chapter 4 Zinc HTTP: The Client Side, 4.11 >> Headers" >> doesn't have a sub-part "3". > > I meant 11.3 in this page > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/Zinc-HTTP-Server.html > a section called 11.3. A Zinc Client. > > >> I guess part of what I'm interested in are patterns for hooking >> NeoJSON up to parse a REST response into objects to build a wrapper >> around a REST service. I see a chapter in Enterprise Pharo, which I'll >> get to that soon. Perhaps I was premature asking before reading that, >> but its good to have a few paths to explore. > > Here is a recent example > http://forum.world.st/Another-example-of-invoking-a-REST-JSON-web-service-resolving-User-Agent-strings-tt5017489.html >
thx. those are both the examples I was seeking. btw, note the different numbering here... http://files.pharo.org/books-pdfs/entreprise-pharo/2016-10-06-EnterprisePharo.pdf "A Zinc client" is in section 5.11 with part "3" unnumbered cheers -ben >> btw, here is the concrete case... >> https://bittrex.com/home/api >> >> cheers -ben >> >> On 5 December 2017 at 20:06, Sven Van Caekenberghe <s...@stfx.eu> wrote: >>> Ben, >>> >>>> On 5 Dec 2017, at 12:15, Ben Coman <b...@openinworld.com> wrote: >>>> >>>> I'm just about to write my first client interface to a REST service. >>>> In some respects I understand this is as simple as doing GET responses >>>> using Zinc, >>>> but I'm inquiring about tutorials or libraries that might help. Most >>>> of the stuff turned up by searches is about server-side of REST. >>>> >>>> cheers -ben >>> >>> I am not sure what you are looking for, but it is not difficult to do. >>> ZnClient is your go to class. >>> >>> The Enterprise Pharo book chapters about HTTP client & server are starting >>> points (in particular section 11 of the former, and very specifically 11.3). >>> >>> HTH, >>> >>> Sven >>> >>> >>> >> > >