It's been a while since I did any coding, but when I started out I created all the classes I needed for every API call. The information is in the documentation....