Introducing the Pages API

We've created a new API to GitHub Pages. This API is accessible by owners of a Pages repo, whether it's owned by an individual or an organization.

With the Pages API, you can get information about your site, as well as details on previous Pages builds.