Making An API using Python and Flask