Added an API listing function to apis.js