Logo showing a cloud presented as a tree

madata

Make any cloud service with an API your backend!

Github File

✅ Auth ✅ Writes ✅ Uploads

Write & read data and upload files in GitHub repositories.

URL format

Note that if the branch name is not in the URL, Madata will try main, and then master.

The simplified URLs like https://github.com/:owner/:repo/:path could clash with the ones supported by the GitHub Labels backend in the (unlikely) case the path starts from a directory called issues, labels, or milestones.

To avoid that, you can use one of the other URL formats or construct the backend object directly from the GithubFile class: new GithubFile("https://github.com/leaverou/health-data/milestones/2024/labels").

Constructor options