fix json and rename user in main
This commit is contained in:
parent
92a5620abf
commit
4b7a4d6b5a
2
cli.py
2
cli.py
|
@ -34,7 +34,7 @@ class GHub:
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
gh = GHub(user_name="mkb79", repo_name="audible-cli")
|
gh = GHub(user_name="tyrelsouza", repo_name="work_sample")
|
||||||
# pprint(gh.schema())
|
# pprint(gh.schema())
|
||||||
pprint(
|
pprint(
|
||||||
(
|
(
|
||||||
|
|
108
tests/repo.json
108
tests/repo.json
File diff suppressed because one or more lines are too long
|
@ -1 +1,34 @@
|
||||||
{"login": "tyrelsouza", "id": 923113, "node_id": "MDQ6VXNlcjkyMzExMw==", "avatar_url": "https://avatars.githubusercontent.com/u/923113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tyrelsouza", "html_url": "https://github.com/tyrelsouza", "followers_url": "https://api.github.com/users/tyrelsouza/followers", "following_url": "https://api.github.com/users/tyrelsouza/following{/other_user}", "gists_url": "https://api.github.com/users/tyrelsouza/gists{/gist_id}", "starred_url": "https://api.github.com/users/tyrelsouza/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyrelsouza/subscriptions", "organizations_url": "https://api.github.com/users/tyrelsouza/orgs", "repos_url": "https://api.github.com/users/tyrelsouza/repos", "events_url": "https://api.github.com/users/tyrelsouza/events{/privacy}", "received_events_url": "https://api.github.com/users/tyrelsouza/received_events", "type": "User", "site_admin": false, "name": "Tyrel Souza", "company": "@tidelift @librariesio", "blog": "https://tidelift.com", "location": "Chapel Hill, NC", "email": null, "hireable": null, "bio": "I have a job. I write code for it. Any sponsorships are my own, and not endorsed by my employer. I disagree with Badges and Achievements.", "twitter_username": "tyrelsouza", "public_repos": 10, "public_gists": 34, "followers": 43, "following": 30, "created_at": "2011-07-18T15:04:40Z", "updated_at": "2021-10-12T05:33:35Z"}
|
{
|
||||||
|
"login": "tyrelsouza",
|
||||||
|
"id": 923113,
|
||||||
|
"node_id": "MDQ6VXNlcjkyMzExMw==",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/923113?v=4",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"url": "https://api.github.com/users/tyrelsouza",
|
||||||
|
"html_url": "https://github.com/tyrelsouza",
|
||||||
|
"followers_url": "https://api.github.com/users/tyrelsouza/followers",
|
||||||
|
"following_url": "https://api.github.com/users/tyrelsouza/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/tyrelsouza/gists{/gist_id}",
|
||||||
|
"starred_url": "https://api.github.com/users/tyrelsouza/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/tyrelsouza/subscriptions",
|
||||||
|
"organizations_url": "https://api.github.com/users/tyrelsouza/orgs",
|
||||||
|
"repos_url": "https://api.github.com/users/tyrelsouza/repos",
|
||||||
|
"events_url": "https://api.github.com/users/tyrelsouza/events{/privacy}",
|
||||||
|
"received_events_url": "https://api.github.com/users/tyrelsouza/received_events",
|
||||||
|
"type": "User",
|
||||||
|
"site_admin": false,
|
||||||
|
"name": "Tyrel Souza",
|
||||||
|
"company": "@tidelift @librariesio",
|
||||||
|
"blog": "https://tidelift.com",
|
||||||
|
"location": "Chapel Hill, NC",
|
||||||
|
"email": null,
|
||||||
|
"hireable": null,
|
||||||
|
"bio": "I have a job. I write code for it. Any sponsorships are my own, and not endorsed by my employer. I disagree with Badges and Achievements.",
|
||||||
|
"twitter_username": "tyrelsouza",
|
||||||
|
"public_repos": 10,
|
||||||
|
"public_gists": 34,
|
||||||
|
"followers": 43,
|
||||||
|
"following": 30,
|
||||||
|
"created_at": "2011-07-18T15:04:40Z",
|
||||||
|
"updated_at": "2021-10-12T05:33:35Z"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user