With our model in place, we are now ready to install Flask-Restless, a third-party Flask extension that makes it simple to build RESTful APIs for your SQLAlchemy models. After ensuring that you have activated the blog app's virtual environment, install Flask-Restless using
(blog) $ pip install Flask-Restless
You can verify if the extension is installed by opening up the interactive interpreter and getting the version that is installed. Don't forget, your exact version number may differ.
(blog) $ ./manage.py shell In : import flask_restless In : flask_restless.__version__ Out: '0.13.0'
Now that we have Flask-Restless installed, let's configure it to work with our application.