Coder Social home page Coder Social logo

cloud-compiler-api-java-client's Introduction

Cloud Compiler API

Cloud Compiler API is the only free API which compiles the source code provided by the user in the cloud and returns the output.

Advantages:

  • supports 70+ programming languages
  • no authorization key is required

This is the minified documentation to get familiar with the API. For full documentation, please visit the original one.

Introduction

All API URLs listed in this documentation are relative to this. The Cloud Compiler API is a mostly RESTful API.

Known caveats:

  • all API calls should be made with HTTP GET or POST
  • you can consider any non-200 HTTP response code as an error
  • when you use the submissions method and status is not equal to 0 then you should wait 3-5 seconds and call the method again
  • error codes are not same as HTTP error codes

Usage

Get all supported languages

This endpoint retrieves all the programming languages that are supported by this API.

curl "http://cloudcompiler.esy.es/api/languages"
Get the language template

This endpoint retrieves the template for the specified language.

curl "http://cloudcompiler.esy.es/api/languages/template/13"
Get the language sample code

This endpoint retrieves the sample code for the specified language

curl "http://cloudcompiler.esy.es/api/languages/sample/13"
Create a new submission

This endpoint submits the source code to the API.

curl -H "Content-Type: application/json" \
-d '{
      "sourceCode": "# This is how submission looks like",
      "langId": 63,
      "stdin": "sample input",
      "timeLimit": 1
    }' \
-X POST \
'http://cloudcompiler.esy.es/api/submissions/'
Get the submission status

This endpoint fetches the submission status.

curl "http://cloudcompiler.esy.es/api/submissions/FrnO2h"

Table of contents in full documentation

cloud-compiler-api-java-client's People

Contributors

gouthamreddykotapalle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cloud-compiler-api-java-client's Issues

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.