Python code for working w/ bbg api