Code Challenge 64 – PyCon ES 2019 Marvel Challenge

By on 4 October 2019

There is an immense amount to be learned simply by tinkering with things. – Henry Ford

Hey Pythonistas,

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:

  1. there are prizes / giveaways,
  2. your PRs count towards Hacktoberfest (t-shirt). Fire up your editors and let’s get coding!

The Challenge

Most of this challenge is open-ended. We really want to give you creative powers. Here is what we are going to do:

  1. Create an account on https://developer.marvel.com. Upon confirming your email you should get an API key.

  2. Write code to successfully make requests to the API, check out the docs (Authentication for Server-Side Applications section).

  3. 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 …

  4. 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.

  5. PR your work on our platform before Friday 11th 27th of Oct. 2019 23.59 AoE (again remember, this also adds up for that Hacktoberfest t-shirt!)

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!

Prizes

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.


Get serious, take your Python to the next level …

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!

Want a career as a Python Developer but not sure where to start?