Skip to content

The ReplLangs API. Part of the ReplAPI.it Project.

License

Notifications You must be signed in to change notification settings

ReplAPI-it/ReplLangs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ray Arayilakath
May 16, 2021
79f8ec0 · May 16, 2021

History

28 Commits
May 16, 2021
May 7, 2021
May 7, 2021
May 7, 2021
May 8, 2021
May 7, 2021
May 16, 2021
Mar 29, 2021
May 10, 2021
May 16, 2021
May 8, 2021
May 8, 2021

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