Add an API
Merge pull request #1 from iandees/gh-pages

Add JSON API