A basic RESTful API structure supports OAuth2.0 for Flask. Absorb some essence from these two projects.overholt and api-pycon2015.
pip install -r requirements.txt
python manage.py initdb
python manage.py runserver
You have to get a token first before accessing any API.
MIT