gh.el is built on top of Eieio. The scope of this client library is to provide plumbing primitives that will allow full use of the GitHub API.

gh.el allows access to GitHub issues.

First, connect to the API:

(gh-issues-api "api")

This will OAuth connect to GitHub and return an API connection object.

The API connection object can be passed to issues methods:

(gh-issues-issue-list (gh-issues-api "API") "sigma" "gh.el")

The issue list has a class gh-api-paged-response which has a member data which can be used to retrieve the data sent back from GitHub:

  (gh-issues-issue-list (gh-issues-api "API") "sigma" "gh.el")

This returns a list of items of class gh-issues-issue. You can further oref those to get data. Putting it all together we might have:

(defun fill-string (str)
    (insert str)

   (lambda (issue)
       "#%s %s -- %s\n%s\n\n"
       (oref issue number) ; the issue number
       (oref issue created-at) ; the data
       (fill-string (oref issue title)) ; the title, filled
            "\r" "\n" (oref issue body))))))  ; the body filled
     (gh-issues-issue-list ghcon "sigma" "gh.el")