def _appveyor_api_request(path):
 r = requests.get('{}/{}'.format(_appveyor_api, path), headers={'Content-Type': 'application/json'})
 r.raise_for_status()
 return r.json()

def _appveyor_api_request ( path ) : r = requests . get ( '{}/{}' . format ( _appveyor_api , path ) , headers = { 'Content-Type' : 'application/json' } ) r . raise_for_status ( ) return r . json ( )
make an appveyor api request .