/
exampleAPIResponses.txt
222 lines (208 loc) · 10.1 KB
/
exampleAPIResponses.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
An example of the API respones from the hashtag 'fun'
# Twitter API response:
[-] Request: POST /getHashtags at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"hashtag": "fun"
}
[
{
"created_at": "Wed Oct 23 21:58:43 +0000 2019",
"id": 1187126229062828000,
"id_str": "1187126229062828042",
"text": "RT @Michelebourke1: Thought I'd share a small selection of this year's paintings. #artforsale #giftideas #christmasgifts #wallart #fun #pai…",
"truncated": false,
"entities": {
"hashtags": [
{
"text": "artforsale",
"indices": [
82,
93
]
},
{
"text": "giftideas",
"indices": [
94,
104
]
},
{
"text": "christmasgifts",
"indices": [
105,
120
]
},
{
"text": "wallart",
"indices": [
121,
129
]
},
{
"text": "fun",
"indices": [
130,
134
]
}
],
"symbols": [],
"user_mentions": [
{
"screen_name": "Michelebourke1",
"name": "Michele bourke",
"id": 862726965761069000,
"id_str": "862726965761069058",
"indices": [
3,
18
]
}
],
"urls"
...
# Datumbox API response:
[-] Response: 200 374.928 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /getHashtags HTTP/1.1\" 200 38318 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
[undefined] Request Body:
{
"tweetText": "RT @Michelebourke1: Thought I'd share a small selection of this year's paintings. #artforsale #giftideas #christmasgifts #wallart #fun #pai…"
}
positive
[-] Response: 200 478.363 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 10 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
[undefined] Request Body:
{
"tweetText": "RT @OlympicTravelSr: Lepote Strazbura \n\n#travel #traveling #vacation #visiting #instatravel #instago #instagood #trip #holiday #photoofthed…"
}
neutral
[-] Response: 200 667.053 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 9 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 0.5, magnitude: 0.9, score: 0.2 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
[undefined] Request Body:
{
"tweetText": "RT @Michelebourke1: Thought I'd share a small selection of this year's paintings. #artforsale #giftideas #christmasgifts #wallart #fun #pai…"
}
{
"polarity": 0.5,
"magnitude": 0.9,
"score": 0.2
}
# Google NLP API Response:
[-] Response: 200 708.792 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /googleSentiment HTTP/1.1\" 200 44 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 1, magnitude: 0.7, score: 0.7 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
[undefined] Request Body:
{
"tweetText": "RT @JohnStr50919099: 80’s Fundraiser for Laurentian Ski Hill!\n#fun\n#northbay\n#davediclub https://t.co/YyeUgxihEO"
}
{
"polarity": 1,
"magnitude": 0.7,
"score": 0.7
}
[-] Response: 200 324.411 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /googleSentiment HTTP/1.1\" 200 42 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 0.8, magnitude: 0.7, score: 0.2 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @OlympicTravelSr: Lepote Strazbura \n\n#travel #traveling #vacation #visiting #instatravel #instago #instagood #trip #holiday #photoofthed…"
}
{
"polarity": 0.8,
"magnitude": 0.7,
"score": 0.2
}
[-] Response: 200 825.599 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /googleSentiment HTTP/1.1\" 200 44 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 1, magnitude: 0.9, score: 0.9 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:58:59 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "#fun #accs #outside Nature Catnip Ball Catnip Toy for Cat Healthy Natural Treatment Molar Snack Cleaning Teath Funn… https://t.co/DrM9ktqTG2"
}
{
"polarity": 1,
"magnitude": 0.9,
"score": 0.9
}
[-] Response: 200 826.739 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:58:59 +0000] \"POST /googleSentiment HTTP/1.1\" 200 42 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "#fun #accs #outside Nature Catnip Ball Catnip Toy for Cat Healthy Natural Treatment Molar Snack Cleaning Teath Funn… https://t.co/DrM9ktqTG2"
}
neutral
[-] Response: 200 912.148 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 9 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 1, magnitude: 0.9, score: 0.9 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @Berti_and_Ernie: Water fun with dogs is always worth a photo! #dogs #fun https://t.co/LL4oLxhyzB"
}
{
"polarity": 1,
"magnitude": 0.9,
"score": 0.9
}
[-] Response: 200 222.980 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /googleSentiment HTTP/1.1\" 200 42 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 1, magnitude: 0.6, score: 0.6 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @_ADPosey: https://t.co/5Ac3Mu4fWb @YouTube #youtube #channel #dancing #dance #rockinrobin #song #music #songs #exercise #fitness #fun #…"
}
{
"polarity": 1,
"magnitude": 0.6,
"score": 0.6
}
[-] Response: 200 217.072 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /googleSentiment HTTP/1.1\" 200 42 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @JohnStr50919099: 80’s Fundraiser for Laurentian Ski Hill!\n#fun\n#northbay\n#davediclub https://t.co/YyeUgxihEO"
}
neutral
[-] Response: 200 418.195 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 9 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
{ polarity: 1, magnitude: 0.2, score: 0.1 }
[-] Request: POST /googleSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "Sneak peak at the next hour !! Introducing people to our #shorts and #Pickleball generates a similar reaction ...… https://t.co/PDsSFEQFl9"
}
{
"polarity": 1,
"magnitude": 0.2,
"score": 0.1
}
[-] Response: 200 240.668 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /googleSentiment HTTP/1.1\" 200 42 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @Berti_and_Ernie: Water fun with dogs is always worth a photo! #dogs #fun https://t.co/LL4oLxhyzB"
}
[undefined] Response Body:
positive
[-] Response: 200 626.010 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 10 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "RT @_ADPosey: https://t.co/5Ac3Mu4fWb @YouTube #youtube #channel #dancing #dance #rockinrobin #song #music #songs #exercise #fitness #fun #…"
}
neutral
[-] Response: 200 674.839 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 9 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}
[-] Request: POST /datumBoxSentiment at Wed Oct 23 2019 17:59:00 GMT-0400, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
{
"tweetText": "Sneak peak at the next hour !! Introducing people to our #shorts and #Pickleball generates a similar reaction ...… https://t.co/PDsSFEQFl9"
}
neutral
[-] Response: 200 780.978 ms
{"message":"::ffff:127.0.0.1 - - [23/Oct/2019:21:59:00 +0000] \"POST /datumBoxSentiment HTTP/1.1\" 200 9 \"http://0.0.0.0:3000/\" \"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\"\n","level":"info"}