Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ReplAPI-it/ReplLangs

Open more actions menu

Repository files navigation

Part of the ReplAPI.it Project

Contributors Forks Stargazers Issues MIT License

ReplLangs

This is ReplLangs, an API that allows you to fetch more accurate language data from a Repl. It functions by scanning the file extension of every file in a Repl and formatting it to output data in a user-friendly manner!

Usage

The API can be found at: https:/langsapi.replapiit.repl.co

Available Endpoints include:

  • /{username}/{repl-slug}

The output is a JSON object with total language data and and array containing the counts of each language.

Example

Fetching: https://langsapi.replapiit.repl.co/HelperFurret/Example-Project
Returns:

{
  "totalLanguages": 1,
  "languageCounts": [
    { 
      "name": "javascript", 
      "count": 1
    }
  ]
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.