8000 Maintainance and Readability issues in this repo · Issue #1 · Krishnaveni-KV/githubapi · GitHub
[go: up one dir, main page]

Skip to content

Maintainance and Readability issues in this repo #1

@Thirumal-Palwai

Description

@Thirumal-Palwai
  1. Can we give some meaningful names and provide comments to make this code readable?
  2. I could also see this code is not catching errors (try: catch:) for the regular errors. (example: GitHub Api Current quota exhausted)
  3. Can we update README.md to make it more meaningful. you can add descriptions of inputs and outputs.
  4. I'm having issues with the script - is the code incomplete? can you provide more examples with different organizations and repos?

Traceback (most recent call last):
File "C:\Users\320167839\Downloads\githubapi-main\githubapi-main\api.py", line 19, in
data = json.loads(rjson)
File "C:\Python310\lib\json_init_.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not list

  1. Can we stick to the requirement. to provide only specifics asked?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0