Add category moderators with the API?

I’m really grateful for all the help the team and community have given me as I sort through things. Discourse is just an awesome example of what open source software and a supportive software community can be.

The API is really fun to use. Sorry for the newbie question, but: Is there a way that I can:

  1. Call the Discourse API from my Discourse forum (for example, call the API when a user hits a button on the forum), and then
  2. Display some of the API results on my discourse forum (such as call “get categories” in the API and then display the resulting category listing on my forum’s home page)?