Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.79 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.79 KB

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
    }
  ]
}