Skip to content

Commit 219062f

Browse files
Project Report Added
1 parent 1e2f867 commit 219062f

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Project Report.pdf

983 KB
Binary file not shown.

tweets.txt

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
RT @LODHA: How would #demonetization impact Indian #realestate? Industry experts share their insights via @Realty_Et https://t.co/M41zVvbJG6<br><br>
2-
RT @sambitswaraj: On @IndiaToday at 9pm #DeMonetization<br><br>
3-
RT @roamingraghu: Hi @jacobinmag Please report on the massive #Demonetization crisis that is happening in India. Millions of Indians advers<br><br>
4-
RT @Joydeep_911: Calling all Nationalists to join...
5-
Walk for #CorruptionFreeIndia and spread the benefits of #Demonetization among the mas<br><br>
6-
RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
1+
RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
2+
RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
3+
RT @madskak: Before the Bypolls, this will decide #Demonetization of Modi !
4+
5+
After the results, Bypolls has nothing to do with #Demonetizat<br><br>
6+
RT @centerofright: #DeMonetization - many families realised that they can live with less cash in hand by moving to plastic and online Trxns<br><br>
7+
RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>

twitterAPI.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import tweepy #Library for accessing Twitter API
22
from textblob import TextBlob #Library for Text Processing
33

4-
5-
64
#Setting up API credentials
75
#The credentials can be obtained by setting up your account at https://apps.twitter.com/
86

@@ -13,13 +11,11 @@
1311
access_token_secret=#insert access token secret here
1412

1513
#Twitter API authentication
16-
1714
auth=tweepy.OAuthHandler(consumer_key,consumer_secret)
1815
auth.set_access_token(access_token, access_token_secret)
1916

2017
api=tweepy.API(auth) #API instance
2118

22-
2319
#Printing random tweets and using them for some purpose!
2420
public_tweets=api.search('#Demonetisation')
2521

0 commit comments

Comments
 (0)