Refactored API Calling
Moved the API call from out of each function to its own function. Also added the ability to begin tracking the rate limits in the headers.
Moved the API call from out of each function to its own function. Also added the ability to begin tracking the rate limits in the headers.