[Beginner] Creating and pulling from chat

Any JSON API tutorial for whatever language you intend to use should do the trick. It’s actually really straight forward. The difficult part is handling (i.e. authenticating, fetching, sorting, storing, retrieving) the data in your chosen language.

As for the API description, the Twitch staff has done a fairly good job with what’s available on GitHub. It’s the best source for your answers to those questions.