I didn't mention it in my blog post, but the GraphQL API Explorer [1] is also super useful to do code completion, etc., because constructing queries is not always that intuitive. I merely used copy/paste of the queries. It would be cool if Pharo could somehow integrate that tool. [1] https://developer.github.com/v4/explorer/ On Fri, 27 Sep 2019 at 06:23, ducasse <stepharo@netcourrier.com> wrote:
Thanks chris. Alexandre and Juan Pablo did an implementation of GraphQL some years ago. May be you want to check and join effort.
Stef
On 27 Sep 2019, at 00:56, Chris Muller <asqueaker@gmail.com> wrote:
GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API. You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now. It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it. Hopefully it'll "just work" if dropped into Pharo. It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know. Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..
- Chris
On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <wild.ideas@gmail.com> wrote:
Christopher Fuhrman posted this on his blog last March. (I ran across it looking for his LibC blog post.)
This doesn't cover the scope of what you listed, but as sort of a "proof of concept" it does show a couple of ways that the GitHub API can be scripted.
https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
-- Christopher Fuhrman, P.Eng., PhD *Professeur au Département de génie logiciel et des technologies de l'informationÃTS (Ãcole de technologie supérieure)* http://profs.etsmtl.ca/cfuhrman +1 514 396 8638 *L'ÃTS est une constituante de l'Université du Québec*