Can you tell me what I'm doing wrong please ?
hello-world
from octocat is a public repository.
CodePudding user response:
If you look at the octocat/hello-world project, it has no releases. If you modify your request...
r = requests.get(f'https://api.github.com/repos/{owner}/{repo}/releases')
...you will get back a successful -- but empty -- response.