def _get(self, uri, options):
url = "<STR_LIT>" % (self.host, uri)<EOL>r = requests.get(url, params=options)<EOL>if r.status_code == <NUM_LIT:200>:<EOL><INDENT>data = r.json()<EOL>return data['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>r.raise_for_status()<EOL><DEDENT>
Quick and dirty wrapper around the requests object to do
some simple data catching

:params uri: a string, the uri you want to request
:params options: a dict, the list of parameters you want to use