Switch to logging from print statements.
Add convenience method to make API requests.