Our great sponsors
-
linguist
Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
-
Entity Framework
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As I later found out, GitHub uses the Linguist library to measure the amount of lines written in a specific language... which is still pretty magic 🪄.
Finally, let's create the database using Entity Framework Core's migrations, e.g. via .NET CLI:
Let's proceed with getting an API personal access token from GitHub: you may generate one in your settings at "Personal Access Tokens".
To interact with the GitHub API, let's install the Octokit.NET library with dotnet add package Octokit, then instantiate a client as simply as: