How to Fetch Large Data Files Through GitHub APIby@clumsycoder
7,628 reads
7,628 reads

How to Fetch Large Data Files Through GitHub API

by Kaushal Joshi6mApril 8th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Git Data API allows you to read and write raw Git objects to and from your Git repository and list, as well as update Git references. This API primarily works with blobs, which is the focus of this article. To retrieve the data, we must instead use the Git Database API. The API converts a large file into a base64 encoded blob rather than storing the entire file for better performance. This is the standard way supported by JavaScript at a Web API that decodes base64 data into a plain ASCII string.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Fetch Large Data Files Through GitHub API
Kaushal Joshi HackerNoon profile picture
Kaushal Joshi

Kaushal Joshi

@clumsycoder

SWE Intern @ Hackernoon | MERN Stack Developer | Technical Blogger

Learn More
LEARN MORE ABOUT @CLUMSYCODER'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Kaushal Joshi HackerNoon profile picture
Kaushal Joshi@clumsycoder
SWE Intern @ Hackernoon | MERN Stack Developer | Technical Blogger

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!