Import a file from Github as a costume

My new project ! Look inside for examples.

Import a file from Github as a costume v1.1 script pic

Import 1 file as a costume from Github

User -> Github user
Project -> Github project
Picture -> File from Github to load as a costume
(.png, .jpg, .bmp, .gif)
(This field is autopopulate)

Helper block is used for auto-populating the picture field : only images appears im this field... You can use the helper block outside this block
(see example below)

Note: Github API may limit to 60 file per minute hour per IP address if the owner have a free account...

this would be one file a second, which is a lot. Is this actually the number?

60 per hour (not minute: my bad) 1 per second

they are the same almost, though. 60 per minute means an average of one per second?

Sorry ! it's HOUR !

You can make unauthenticated requests if you are only fetching public data. Unauthenticated requests are associated with the originating IP address, not with the user or application that made the request.

The primary rate limit for unauthenticated requests is 60 requests per hour.

oh, that makes more sense.

big difference!

Can you make another one that does this but for literally any other website too (so just from a URL)

It use github api... So we can get files only from github...

You can try with allorigin, but maybe you will have speed issue...