Fork me on GitHub

Homework API

This API is an interface to order some homework to be done. See the hosted version on Mashape.

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]((http://www.mashape.com/) API Framework.

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.

Comments

Mentioned by Techcrunch in Mashape, The Etsy Of Cloud Services, Goes Beta; Lets You Monetize Your APIs In A Click

Tweeted by @sinzone:

Check out this awesome API: Getting Homework Done mashape.com/apis/Getting+Homework+Done via @mashape - AMAZING IDEA! @qpleple

Tweeted by @antz29:

Made me giggle. Late on your homework ? There's an API for that http://bit.ly/jwoTpB

Tweeted by @hassanseth:

Getting Homework Done: an API to order your homework to be done http://bit.ly/k0VO9E

Tweeted by @bzurek:

With school back in session, clearly lots of homework being done. Go figure, here is a HomeWork API on Mashape to help. http://bit.ly/pkNGnt

Quentin Pleplé
June 2011