This challenge write-up first appeared on PyBites.
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
This weekend is Pycon ES and in the unlikely event you get bored, you can always do some coding with PyBites. Two more good reasons to do so:
Most of this challenge is open-ended. We really want to give you creative powers. Here is what we are going to do:
Create an account on https://developer.marvel.com. Upon confirming your email you should get an API key.
Write code to successfully make requests to the API, check out the docs (Authentication for Server-Side Applications section).
To be good citizens make a function to cache the data to avoid repeated queries while working with the data. To respect the API's rate limits you probably want to focus on just one or a few endpoints ( characters, comics, creators, events, series, or stories). We provided a template with some hints to get started. Save the (JSON) data from the API locally and start analyzing ...
Now the fun part; here we let you be totally free: look through the data and tell us / our community a story. Make stunning data visualizations of your collected data and share them on our Slack, in the #marvel channel.
Update: yes, we updated the deadline. It's a tough challenge and we really want to give you some more time to get an awesome PR in!
The 3 best submissions win one of our prizes:
- a one year subscription to [our 220+ Bites of Py exercises](https://codechalleng.es/bites/) - a copy of our [100 days of Web course](https://training.talkpython.fm/courses/explore_100days_web/100-days-of-web-in-python) - a 75 USD Amazon.com Gift Card to spend on (Python) books - each winner also gets a copy of our [Newbie bites](https://codechalleng.es/bites/newbie) to give away to a friend who wants to learn Python ...
Good luck and impress your fellow Pythonistas! Ideas for future challenges? use GH Issues.
At PyBites we're all about creating Python ninjas through challenges and real-world exercises. Read more about our story.
We are happy and proud to share that we now hear monthly stories from our users that they're landing new Python jobs. For many, this is a dream come true, especially as they're often landing roles with significantly higher salaries!
Our 200 Bites of Py exercises are geared toward instilling the habit of coding frequently, if not daily which will dramatically improve your Python and problem solving skills. This is THE number one skill set necessary to becoming a linchpin in the industry and will enable you to crush it wherever codes need to be written.
Take our free trial and let us know on Slack how it helps you improve your Python!
>>> from pybites import Bob, Julian Keep Calm and Code in Python!