use_cassette function

Use a cassette to record HTTP requests