<metaname="description" content="Full Stack Python explains each layer of the web application stack, from the server up through the rendering in a user's browser.">
shows you how to build resiliency into calls to web APIs.</p>
</li>
<li>
<p>My DjangoCon 2013 talk dove into
"<ahref="http://www.youtube.com/watch?v=iGP8DQIqxXs">Making Django Play Nice With Third Party Services</a>."</p>
</li>
<li>
<p>If you're looking for a fun project that uses two web APIs within a
Django application, try out this tutorial to
<ahref="https://www.twilio.com/blog/2014/11/build-your-own-pokedex-with-django-mms-and-pokeapi.html">Build your own Pokédex with Django, MMS and PokéAPI</a>.</p>
</li>
</ul>
<h2>API integration learning checklist</h2>
<p><iclass="fa fa-check-square-o"></i>
Pick an API known for top notch documentation. Here's a list of
<ahref="https://medium.com/she-hacks-hacker-academy/4d3c43be9386">ten APIs that are a good starting point for beginners</a>.</p>
<p><iclass="fa fa-check-square-o"></i>
Read the API documentation for your chosen API. Figure out a simple use case
for how your application could be improved by using that API.</p>
<p><iclass="fa fa-check-square-o"></i>
Before you start writing any code, play around with the API through the
commandline with <ahref="http://curl.haxx.se/">curl</a> or in the browser with
<ahref="http://www.getpostman.com/">Postman</a>. This exercise will help you get a
better understanding of API authentication and the data required for requests
and responses.</p>
<p><iclass="fa fa-check-square-o"></i>
Evaluate whether to use a helper library or work with
<ahref="http://docs.python-requests.org/en/latest/">Requests</a>. Helper libraries are
usually easier to get started with while Requests gives you more control over
the HTTP calls.</p>
<p><iclass="fa fa-check-square-o"></i>
Move your API calls into a <ahref="/task-queues.html">task queue</a> so they do not
block the HTTP request-response cycle for your web application.</p>
<h3>What's next after integrating APIs into your app?</h3>
<h4>Interested in a complete Full Stack Python book with detailed tutorials and example code? Sign up here and you'll get an alert email if a book is created. No other emails will be sent other than sign up confirmation.</h4>
$("#mc-embedded-subscribe-form").unbind('submit');//remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator