Starting task from reddit to practice using an API and manipulating JSON data in Python