Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
kokonut27 committed Oct 5, 2021
1 parent 40e4674 commit 45f90a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/git_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,22 @@ def PinnedItems(self):
self.pinneditems = self.runQ(query, self.token)
return self.pinneditems


class GitHub:
def Status():
url = "https://github.com"
res = requests.get(url)
status = res.status_code
return status

def Search(topic):
query = """
query UserData {
user(login: \"""" + self.user + """\") {
}
}
"""


# Remove this when uploading to PyPi
Expand Down

0 comments on commit 45f90a3

Please sign in to comment.