Now that we've got some idea what we're building, let's actually get it going. We'll be using Django REST Framework (http://www.django-rest-framework.org/). Start by installing it in your environment:
$ pip install djangorestframework
rest_framework to your
INSTALLED_APPS = ( ... 'rest_framework' )
Now we're ready to start testing.
While there's no such thing as browser-based testing for an external API, it is important to write tests that cover its end-to-end processing. We need to be able to send in requests like the ones we've documented and confirm that we receive the responses our documentation promises.
Django REST Framework (DRF from here ...