response_dict json(process results print(response_dict keys()at we import the requests module at we store the url of the api calland then we use requests to make the call we call get(and pass it the urland we store the response object in the variable the response object has an attribute called status_codewhich tells us whether the request was successful ( status code of indicates successful response at we print the value of status_code to make sure the call went through successfully the api returns the information in json formatso we use the json(method to convert the information to python dictionary we store the resulting dictionary in response_dict finallywe print the keys from response_dict and see thisstatus code dict_keys(['items''total_count''incomplete_results']because the status code is we know that the request was successful the response dictionary contains only three keys'items''total_count'and 'incomplete_resultsnote simple calls like this should return complete set of resultsso it' pretty safe to ignore the value associated with 'incomplete_resultsbut when you're making more complex api callsyour program should check this value working with the response dictionary now that we have the information from the api call stored as dictionarywe can work with the data stored there let' generate some output that summarizes the information this is good way to make sure we received the information we expected and to start examining the information we're interested inpython_ repos py import requests make an api call and store the response url ' requests get(urlprint("status code:" status_codestore api response in variable response_dict json( print("total repositories:"response_dict['total_count']explore information about the repositories repo_dicts response_dict['items'print("repositories returned:"len(repo_dicts)