Tech Versus Me API
A RESTful JSON API for tvm.nirantak.com built with Django REST Framework
Table of Contents
REST is an architecture style for designing networked applications and APIs over HTTP.
It stands for REpresentational State Transfer.
Web Services that conform to the REST architectural style, or RESTful web services, provide interoperability between computer systems on the Internet.
As REST creator, Roy Fielding describes in his doctoral dissertation, it was conceived as a whole sets of needs, shaped by the constraints of the environment in which this system was going to be implemented. Such constraints are:
- Client-Server architecture
- Uniform Interface (Resource URIs, Hypermedia)
- Layered System
- Code on demand (optional)
|index||/||GET||Index View with metadata|
|posts||/posts/||GET||List all posts|
|post||/posts/<id:int>/||GET||Show individual post by id|
|authors||/authors/||GET||List all authors|
|author||/authors/<id:int>/||GET||Show individual author by id|
|update||/update/||GET, POST('key')||Update Database from Atom Feed|
This script parses the Atom Feed from here, and updates the database with new posts, it is run automatically as a build hook from Netlify after each deploy.
This code has been released under the GNU General Public License v3.0.