-
Python version 3.5
-
Use pip install to get the following libs:
- requests
- json
- urllib
-
Create a config.py file and add your credentials:
url= 'https://gnip-api.twitter.com/search/fullarchive/accounts/{ACCOUNT_NAME}/{LABEL}.json'
username = 'ENTER_USERNAME_HERE'
password = 'ENTER_PASSWORD_HERE'
See this https://dev.twitter.com/overview/api/tweets
installing django and the step to run the server
sudo easy_install pip
sudo pip install virtualenv
virtualenv my_django
cd my_django
source bin /activate
pip freeze
pip install django —upgrade
django-admin.py startproject my_project
python manage.py runserver
- Django website contains a project called blindLemur
- Contains an app called topics
- Django version : 1.10
- For creating the app "topics" - python3 manage.py startapp topics