Home > homework-api

homework-api

Homework-api is a project mainly written in PHP, it's free.

Getting Homework Done

Homework API -- Getting Homework Done

DESCRIPTION

This API is an interface to order some homework to be done.

See the hosted version on Mashape : http://www.mashape.com/apis/Getting%20Homework%20Done

USAGE

POST request on /submitHomework with the parameter content containing the exercise will issue a job id. An notification email is sent to the API host with the id of the new homework.

You can check the status (pending or done) of the job with a GET request on /status/{id}.

You can get the solution of the exercise when the job is done with a GET request on /solution/{id}.

powered by mashape.com API Framework (http://www.mashape.com/)

INSTALLATION

  • Edit config-example.php into config.php by filling out the parameters
  • Edit api-example.php into api.php by changing the baseUrl
  • If you are behind Nginx and you can not use Apache url rewriting, add the line try_files $uri /api.php; to the nginx configuration.
Previous:map