#linguist
2 APIs mit diesem Tag
Programming Languages API
The language definitions GitHub uses to recognise code (the open-source Linguist data) as an API — a clean reference for syntax highlighting, file-type detection, repository dashboards and developer tooling. For each of 800+ languages the API returns its type (programming, markup, data or prose), its brand colour (the hex GitHub paints it), the file extensions associated with it, common aliases, the GitHub language id and the editor (ace) mode. Look a language up by name or alias (golang resolves to Go), reverse-look-up which language(s) own a file extension (.py → Python; .h → C, C++, Objective-C), list the languages of a type, search, or list them all. Distinct from languages-api (ISO 639 human languages) — this is the programming-language reference. Served from memory — always fast.
api.oanor.com/proglang-api
Programmiersprachen-API
Eine Referenz für über 800 Programmiersprachen, Auszeichnungs- und Datensprachen, erstellt aus dem GitHub Linguist-Datensatz. Erkennen Sie, zu welcher Sprache eine Dateierweiterung gehört (z. B. .rs → Rust), suchen Sie eine Sprache nach Namen oder Alias, erhalten Sie ihren Typ, ihre Markenfarbe, Dateierweiterungen und Aliase, und suchen oder listen Sie nach Typ. Ideal für Code-Editoren, Syntax-Tools, Repo-Analysatoren und Sprach-Badges. (Programmiersprachen – keine gesprochenen Sprachen.)
api.oanor.com/proglangs-api