Created
December 11, 2022 03:17
-
-
Save ystoneman/e6062e3228feda3b73cf8901bca2f934 to your computer and use it in GitHub Desktop.
How to get a CSV file bigger than 1MB from GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace vnd.github+json with vnd.github.raw+json when a file is bigger than 1MB | |
curl \ | |
-H "Accept: application/vnd.github.raw+json" \ | |
-H "Authorization: Bearer TOKEN"\ | |
-H "X-GitHub-Api-Version: 2022-11-28" \ | |
https://api.github.com/repos/ystoneman/hotel-bookings/contents/hotel_bookings.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment