Giter Club home page Giter Club logo

letscodeit-api's Introduction

LetsCodeit

Introduction to LetsCodeit API

It supports multiple langauge all of is free.

Executing and fetching Output.

Use a POST request with specified fileds to get a Output.

List of supporting languages:

Make a GET request to

https://letscodeit-api.herokuapp.com/list

Request:

GET : https://letscodeit-api.herokuapp.com/list

Response:

[
    {
        "language": "java",
        "compilerVersion": "11.0.15"
    },
    {
        "language": "cpp",
        "compilerVersion": "11.2.0"
    },
    {
        "language": "py",
        "compilerVersion": "3.7.7"
    },
    {
        "language": "c",
        "compilerVersion": "11.2.0"
    },
    {
        "language": "js",
        "compilerVersion": "16.13.2"
    },
    {
        "language": "go",
        "compilerVersion": "1.18.3"
    },
    {
        "language": "cs",
        "compilerVersion": "6.12.0.140"
    }
]

Endpoint to execute Codes:

https://letscodeit-api.herokuapp.com/

Fields:

Input Parameters:

  • code:
  • language:
  • input:

Output Fields:

  • success
  • timestamp
  • output
  • language
  • version

Sample:

Request

code:
#include <iostream>
int main() {
    std::cout << "Hello World!";
    return 0;
}

language:
cpp

input:

Response:

{
    "success": true,
    "timestamp": "2022-07-12T03:09:05.667Z",
    "output": "Hello World!",
    "language": "cpp",
    "version": "11.2.0"
}

letscodeit-api's People

Contributors

manojks1999 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.