diff --git a/readme_level.py b/readme_level.py index 3dd52e0..2cc9949 100644 --- a/readme_level.py +++ b/readme_level.py @@ -40,6 +40,9 @@ def fetch_user_data(self) -> dict[str, int] | None: user_data["totalFollowers"] = (response_data["data"]["user"] ["followers"]["totalCount"]) + user_data["totalRepositories"] = (response_data["data"]["user"] + ["repositories"]["totalCount"]) + return user_data exception("request to github api failed")