There is nothing like a challenge to bring out the best in man. - Sean Connery
Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we'll let you play with Web APIs. They are fun to fiddle with and great for learning and building cool things.
We are eager to see what you come up with. If you want to share your work please do so via our new PR proc. Enjoy!
We keep it free-form so you can go wild on consuming your favorite service(s) / data.
Lack inspiration? Here are some ideas to get you started:
Pull a bunch of movie metadata using OMDb API. Maybe you want to use TMDb instead, as one of our community members commented in his PR for this challenge: TMDb seems more full featured and better supported.
Check reddit for useful (Python) threads using the their API
Republish your Instagram photos to your blog via their API.
Do cool stuff with Google APIs: e.g. calendar, books, drive, Gmail, translate, Youtube, wow they really have a lot.
Using one API is cool, combining two is even more powerful (e.g. Twitter + Slack, Google + FB, or whatever combination). There are so many options here, we probably reserve another challenge to do more of this (if you like it).
If you are going to call an API repeatedly while developing you might want to consider a library like Requests-cache.
See our INSTALL doc how to fork our challenges repo to get cracking. We updated this doc with additional instructions how to submit your solution to our community branch (and end-of-the-week review) via a Pull Request (PR).
Last but not least: there is no best solution, only learning more and better Python. Good luck!
Keep Calm and Code in Python!
-- Bob and Julian
Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.
"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H
"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B
"This is now my favourite first Python go-to reference." - Anthony L
"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S