Example code for working with Requests using API Client