https://jclewis1989.medium.com/one-function-to-rule-them-all-mastering-api-integration-with-a-versatile-reusable-python-function-ac2b8e2cc4a3