Hi Ben, I haven't used it very much. Just some light testing a few years ago. I've just been using piwik.org on my own server and it works OK for now. Someday maybe I'll want to add segment to access other tools but not yet. Paul Ben Coman wrote
btw, SegmentIO seems quite impressive aggregating a huge number of services. How have you found the extra level of indirection in practice? how has your experience been with the sources you've tried?
cheers -ben
On 6 December 2017 at 06:06, Ben Coman <
btc@
> wrote:
Thanks Paul. It'll be good to review some concrete implementations, and nice to see what services other other people find useful. I got a momentary urge the create a Pharo Distribution or catalog entry called something like "SamplRest" with a GUI to explore available REST data sources. Marketing angle for Pharo would be helping less technical people get a "live" hold of data from these sources, and then incrementally script against those live objects. I guess a bit like SegmentIO but on your own desktop rather than through a third party. (but I've not got the time right now)
cheers -ben
On 6 December 2017 at 02:46, Paul DeBruicker <
pdebruic@
> wrote:
Hi Ben,
I've made a few REST Clients
http://smalltalkhub.com/#!/~pdebruic/Stripe http://smalltalkhub.com/#!/~pdebruic/Tropo http://smalltalkhub.com/#!/~pdebruic/SegmentIO
And the elasticsearch one but its been advanced mostly lately by Sho Yoshida (https://github.com/newapplesho) here https://github.com/newapplesho/elasticsearch-smalltalk
He has also made REST clients for Twilio, AWS, SendGrid, Salesforce, and Mixpanel among others.
Norbert Hartl made one for Mandrill (Mailchimps transactional email service) http://smalltalkhub.com/#!/~NorbertHartl/Mandrill
And Francois Stephany made one for Postmark (another transactional email service) http://smalltalkhub.com/#!/~PharoExtras/Postmark
So those are some examples of different approaches.
I also started/made a cross platform web client wrapper (just wraps calls to ZnClient or WebClient on Squeak) http://smalltalkhub.com/#!/~pdebruic/HTTPAPIClient
But IIRC I only used it in the Stripe API client.
Hope this gives you some ideas about how to approach your own solution
Paul
Ben Coman 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
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html