Scenario: the users of my app can retrieve the list of (up to 1000) files in a directory of a public repo, and iterate through each of them to download the raw version (which is generally 500KB or less).
Is there any sort of limit with this workflow? I'm using the following python code:
url = 'https://api.github.com/repos/'+owner+'/'+repo+'/contents/Scenes?ref=main'
r = requests.get(url)
for i in r.json():
raw_url = i['download_url']
f = urllib.request.urlopen(raw_url)
code = f.read()
### do my operations with the file
f.close()