Skip to content

Latest commit

 

History

History
33 lines (15 loc) · 874 Bytes

File metadata and controls

33 lines (15 loc) · 874 Bytes

Fork this project and send us a pull request

Write a simple python webservice that returns the objects & manipuates the data found here http://www.unisport.dk/api/sample/.

/products/

should return the first 10 objects ordered with the cheapest first.

/products/kids/

should return the products where kids=1 ordered with the cheapest first

/products/?page=2

The products should be paginated where page in the url above should return the next 10 objects

/products/id/

should return the individual product.

Remember to test
Remember to document (why, not how)

####Bonus: extend the service so the products can also be created, edited and deleted in a backend of choice.

You are welcome to use any thirdparty python web framework or library that you are familiar with.