Skip to content

Instantly share code, notes, and snippets.

@khuyentran1401
Last active June 29, 2022 00:46
Show Gist options
  • Save khuyentran1401/00c1bfdf74a0f30ae17af4b02ec3acb9 to your computer and use it in GitHub Desktop.
Save khuyentran1401/00c1bfdf74a0f30ae17af4b02ec3acb9 to your computer and use it in GitHub Desktop.
def get_specific_info_of_repos(auth: dict, repo_urls: list):
data = []
for url in repo_urls:
response = requests.get(
url,
auth=(auth["username"], auth["token"]),
)
data.append(response.json())
return data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment