We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa466f commit b99ca43Copy full SHA for b99ca43
python_repos.py
@@ -21,7 +21,17 @@
21
22
#研究第一个仓库
23
repo_dict = repo_dicts[0]
24
-print(f"\nKeys: {len(repo_dict)}")
25
-for key in sorted(repo_dict.keys()):
26
- print(key)
+# print(f"\nKeys: {len(repo_dict)}")
+# for key in sorted(repo_dict.keys()):
+# print(key)
27
+
28
+print("\nSelected information about each repository:")
29
+for repo_dict in repo_dicts:
30
+ print(f"Name: {repo_dict['name']}")
31
+ print(f"Owner: {repo_dict['owner']['login']}")
32
+ print(f"Stars: {repo_dict['stargazers_count']}")
33
+ print(f"Repository: {repo_dict['html_url']}")
34
+ print(f"Created: {repo_dict['created_at']}")
35
+ print(f"Updated: {repo_dict['updated_at']}")
36
+ print(f"Description: {repo_dict['description']}")
37
0 commit comments