On 28 Jul 2014, at 17:20, Tudor Girba <tu...@tudorgirba.com> wrote:

> I am interested in this as well.
> 
> I looked a bit at the Hub REST API, and I see I can do this: 
> 
> ShRepositoryHandler>>getPackagesOf: name owner: username
>       <get>
>       <path: '/{username}/{name}/packages'>
>       <produces: 'text/json'>
> 
> 
> Naively, I am trying to just get it like this:
> ZnEasy get: 'http://smalltalkhub.com/girba/GPlay/packages'
> 
> but it obviously does not work.
> 
> What am I missing? Authentication?

yes. 
please notice there is also the package HubClient (under smalltalkhub project), 
who already provides a entry point for querying sthub from pharo (but… most 
probably is unmaintained and with errors, he).

Esteban 


> 
> Cheers,
> Doru
> 
> 
> 
> On Mon, Jul 28, 2014 at 1:56 PM, Damien Cassou <damien.cas...@gmail.com> 
> wrote:
> https://ci.inria.fr/pharo-contribution/job/SmalltalkHub/?
> 
> There is an undocumented REST API that the Amber client uses.
> 
> On Sun, Jul 27, 2014 at 2:23 PM, kilon alios <kilon.al...@gmail.com> wrote:
> > I wonder if there is a way to operate smalltalkhub from pharo. What would
> > interest me is to browser smalltalkhub from pharo and do anything I can do
> > from the website with pharo.
> >
> > I am new with these things so I assume Zinc would be useful here , no ?
> >
> > is there any docs for smalltalkhub api ?
> >
> > Anyone tried something similar before ?
> >
> > I tried to load Smalltalkub configuration but it looks like that the config
> > does not define neither a stable or a developement version .
> 
> 
> 
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
> 
> "Success is the ability to go from one failure to another without
> losing enthusiasm."
> Winston Churchill
> 
> 
> 
> 
> -- 
> www.tudorgirba.com
> 
> "Every thing has its own flow"

Reply via email to