All in all, your first RESTful API in Python is about piecing together clear endpoints, matching them with the right HTTP ...
It's a solved problem, but I actually prefer a simple web UI.