I started the repository and got immediately to poking around with the GitHub html response. Since GitHub is built with react, the server sends over a json to help build the page, which in GitHubs case, is actually in the html, and is the script element with the data-target attribute of “react-app.embeddedData.” So, all you need to do is scrape the JSON from the page, then you can format that data and return an object, without even needing to go through an API.
0
Log in to leave a comment