Hi Stef,

Here are some examples:

Get world capitals:

((NeoJSONReader fromString: (
������ ZnEasy
������ ������ get: 'http://api.geonames.org/countryInfoJSON'
������ ������ username: 'demo'
������ ������ password: '') contents) at: #geonames) collect: [ : d | d at: #capital ]

Get poster of The Terminator movie:
������ ������
(ZnEasy getJpeg: ((NeoJSONReader fromString:
������ (ZnClient new
������ ������ url: 'http://www.omdbapi.com/';
������ ������ queryAt: 't' put: 'The Terminator';
������ ������ get;
������ ������ contents)) at: #Poster)) inspect

Another one to WorldCat but this needs an API key (I cannot test it now)

(ZnClient new
������ url: 'http://worldcat.org/webservices/kb/rest/collections';
������ addPathSegment: 'search';
������ queryAt: 'q' put: 'Plato';
������ queryAt: 'wskey' put: '...';������ ������
������ get;
������ contents)) inspect

This is another wrapper for language detection (if you want to show a simple api wrapper)

http://80738163270632.blogspot.com/2015/02/languagedetection-api-client-in.html

Cheers,

Hern��n


2016-03-13 17:52 GMT-03:00 stepharo <stepharo@free.fr>:
Hi hernan and others

I'm looking for ideas of simple services
capital, dictionaries....
forecast that I could access using Zinc in a couple of lines.

This is for challenges that I'm writing for the mooc.
Stef