I have written a library to aid people in calling information from the API, found here.
You can use this to do all of the heavy lifting in calling to the API, even going as far as to perform limitless calls to endpoints such as followers of a channel (I have tested it on a channel with 130,000+ followers and it was able to succeed [That being said, I had to add some changes to the environment vars in PHP to accomplish this, primarily the maximum memory of a single script and the script execution time]). Currently supports all of V3 and should be 100% compatible with V2 (I simply return data for the most part, and I do many safety checks to prevent issues from occurring).