O'Reilly logo

Programming Elixir by Dave Thomas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Project: Fetch Issues from GitHub

GitHub provides a nice web API for fetching issues.[18] Simply issue a GET request to

 
https://api.github.com/repos/​user​/​project​/issues

and you’ll get back a JSON list of issues. We’ll reformat this, sort it, and filter out the oldest n, presenting the result as a table:

 
# | created_at | title
 
----+----------------------+-----------------------------------------
 
889 | 2013-03-16T22:03:13Z | MIX_PATH environment variable (of sorts)
 
892 | 2013-03-20T19:22:07Z | Enhanced mix test --cover
 
893 | 2013-03-21T06:23:00Z | mix test time reports
 
898 | 2013-03-23T19:19:08Z | Add mix compile --warnings-as-errors

How Our Code Will Do It

Our program will run from the command line. We’ll need to pass in a GitHub ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required