5 ms·
Creating a REST api in Python using bottle and mongo db
- samirahmed 14y agoThis is a great tutorial - I used this earlier this year to create a simple zip code API http://www.zippopotam.us http://www.zippopotam.us For bottle.py inspiration / implementation you can see https://github.com/samirahmed/Zippopotamus-Cloud https://github.com/samirahmed/Zippopotamus-Cloud
- voltagex_ 14y agoLove the URL!
- regularfry 14y agoThis would be REST level 2[0]: it uses HTTP verbs and is defined in terms of resources. It is not level 3, because of those damned "_id" keys lying around. [0] http://martinfowler.com/articles/richardsonMaturityModel.html http://martinfowler.com/articles/richardsonMaturityModel.htm...