skip to Main Content

Getting an error with syntax getting a JSON file – Twitter API

I'm having a problem building a Twitter random quotes generator API. I'm following this tutorial: https://www.twilio.com/blog/build-deploy-twitter-bots-python-tweepy-pythonanywhere But I get an error that he doesn't have. This is the code: import requests api_key = '*****' api_url = 'https://andruxnet-random-famous-quotes.p.rapidapi.com' headers = {'afd9cbe77emshf06f5cb2f889689p1ca1c3jsne6e79ad808cc'…

VIEW QUESTION
Back To Top
Search