Hi,

to get warm with Git, GitFileTree and Iceberg last week I was in need of 
something
quick I could implement to try these new tools out.

While being on my GitHub webpage I've seen at the bottom a link to "API"
and was happily surprised that GitHub could be accessed also with a REST API.

So I wrapped a few of these calls within Pharo and now you can also query 
GitHub infos easily from inside of the image:

   (GitHub userNamed: 'astares') avatar inspect    "Returns the avatar form"

   (GitHub userNamed: 'pharo-project') isOrganization

   (GitHubUser named: 'pharo-project') repositories

Code could be improved and extended further, possible also be used for
accessing/controlling GitHub from Iceberg later.

If you want to play with it just load it from Catalog in Pharo 6.0.

Code and docu is available on https://github.com/astares/GitHub-API

Have fun
T.

Reply via email to