API methods

All API methods return JSON formatted information.