Welcome to the Twitter Data sample script library for Python.
This library will allow you to access several of our historical and real-time enterprise-level endpoints with Python 3.
1.) Ensure you're using the appropriate version of Python (this library supports Python 3).
2.) In the desired sample script enter your Gnip console credentials towards the top of the file in the UN and PWD fields.
3.) In the base_url field toward the top of the file please replace INSERT_ACCOUNT_NAME_HERE and INSERT_STREAM_LABEL_HERE with your account name and stream label, respectively.
4.) After you've started your virtual environment, run python <<REPLACE_THIS_WITH_THE_SAMPLE_SCRIPT_NAME.py>>
in your terminal.
After completing step 4, you should see the results of your script print out in the terminal.