Whatnot interview question

Write a Python script to query an API given an API token