refactored to remove confusing methods
added vcr for API request testing
extracted url generation for API calls