<s> import betamax <EOL> import requests <EOL> CASSETTE_LIBRARY_DIR = '<STR_LIT>' <EOL> def main ( ) : <EOL> session = requests . Session ( ) <EOL> recorder = betamax . Betamax ( <EOL> session , cassette_library_dir = CASSETTE_LIBRARY_DIR <EOL> ) <EOL> with recorder . use_cassette ( '<STR_LIT>' , record = '<STR_LIT:none>' ) : <EOL> session . get ( '<STR_LIT>' ) <EOL> session . post ( '<STR_LIT>' , <EOL> params = { '<STR_LIT:id>' : '<STR_LIT>' } , <EOL> json = { '<STR_LIT>' : '<STR_LIT>' } ) <EOL> session . get ( '<STR_LIT>' , params = { '<STR_LIT:id>' : '<STR_LIT>' } ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
