Created
December 9, 2012 21:19
-
-
Save carvil/4247059 to your computer and use it in GitHub Desktop.
Retrieving messages from coke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/sandbox/coke(branch:master*) » http http://localhost:3000/tweets.json carvil@macbookair - 1.9.3-p327 | |
HTTP/1.1 200 OK | |
Cache-Control: max-age=0, private, must-revalidate | |
Connection: Keep-Alive | |
Content-Length: 2702 | |
Content-Type: application/json; charset=utf-8 | |
Date: Sun, 09 Dec 2012 21:18:17 GMT | |
Etag: "783430049a812f2c9f0462688051be0b" | |
Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) | |
X-Request-Id: 0bea7890818d6352ef5cd26c08e8a48a | |
X-Runtime: 0.009289 | |
X-Ua-Compatible: IE=Edge | |
[ | |
{ | |
"_id": 3, | |
"count": 2, | |
"created_at": "2012-09-27T16:11:15Z", | |
"followers": 24, | |
"id": 3, | |
"message": "Coke is it!", | |
"sentiment": 1.0, | |
"updated_at": "2012-12-09T19:46:13Z", | |
"user_handle": "@coke_snortr" | |
}, | |
{ | |
"_id": 13, | |
"count": 2, | |
"created_at": "2012-09-27T16:18:09Z", | |
"followers": 3, | |
"id": 13, | |
"message": "I've got to say - Pepsi max is great!", | |
"sentiment": 0.9, | |
"updated_at": "2012-12-09T19:46:15Z", | |
"user_handle": "@tasteless" | |
}, | |
{ | |
"_id": 2, | |
"count": 1, | |
"created_at": "2012-09-27T16:10:34Z", | |
"followers": 3, | |
"id": 2, | |
"message": "Diet coke is just the best!", | |
"sentiment": 0.9, | |
"updated_at": "2012-09-27T16:10:34Z", | |
"user_handle": "@coke_lvr" | |
}, | |
{ | |
"_id": 1, | |
"count": 3, | |
"created_at": "2012-09-27T16:09:49Z", | |
"followers": 2, | |
"id": 1, | |
"message": "I really like diet coke", | |
"sentiment": 0.7, | |
"updated_at": "2012-12-09T19:57:24Z", | |
"user_handle": "@coke_lvr" | |
}, | |
{ | |
"_id": 17, | |
"count": 2, | |
"created_at": "2012-12-07T16:57:12Z", | |
"followers": 5, | |
"id": 17, | |
"message": "Coke is great", | |
"sentiment": 0.7, | |
"updated_at": "2012-12-09T19:46:18Z", | |
"user_handle": "@coke_lvr" | |
}, | |
{ | |
"_id": 15, | |
"count": 2, | |
"created_at": "2012-09-28T09:42:47Z", | |
"followers": 0, | |
"id": 15, | |
"message": "Cooooooooooooooookkkkkeee!!!!!!!!!", | |
"sentiment": 0.5, | |
"updated_at": "2012-12-09T19:46:24Z", | |
"user_handle": "@heavyhanded" | |
}, | |
{ | |
"_id": 14, | |
"count": 3, | |
"created_at": "2012-09-27T16:18:50Z", | |
"followers": 245, | |
"id": 14, | |
"message": "Coke coke coke coke coke!!!!", | |
"sentiment": 0.4, | |
"updated_at": "2012-12-09T19:46:21Z", | |
"user_handle": "@coke_snortr" | |
}, | |
{ | |
"_id": 6, | |
"count": 4, | |
"created_at": "2012-09-27T16:13:31Z", | |
"followers": 9, | |
"id": 6, | |
"message": "Lemonade works for me", | |
"sentiment": 0.4, | |
"updated_at": "2012-12-09T20:09:27Z", | |
"user_handle": "@lemonzest" | |
}, | |
{ | |
"_id": 7, | |
"count": 4, | |
"created_at": "2012-09-27T16:14:27Z", | |
"followers": 9, | |
"id": 7, | |
"message": "Vimto or Ribena? You decide!", | |
"sentiment": 0.2, | |
"updated_at": "2012-12-09T20:09:27Z", | |
"user_handle": "@mad4vimto" | |
}, | |
{ | |
"_id": 16, | |
"count": 3, | |
"created_at": "2012-12-07T16:55:45Z", | |
"followers": 3, | |
"id": 16, | |
"message": "Hi there", | |
"sentiment": 0.0, | |
"updated_at": "2012-12-09T19:57:24Z", | |
"user_handle": "@idiot" | |
}, | |
{ | |
"_id": 12, | |
"count": 1, | |
"created_at": "2012-09-27T16:17:21Z", | |
"followers": 19, | |
"id": 12, | |
"message": "Pepsi is the new coke", | |
"sentiment": 0.0, | |
"updated_at": "2012-09-27T16:17:21Z", | |
"user_handle": "@pepsi" | |
}, | |
{ | |
"_id": 5, | |
"count": 1, | |
"created_at": "2012-09-27T16:12:31Z", | |
"followers": 12, | |
"id": 5, | |
"message": "I don't like pepsi. I prefer #coke", | |
"sentiment": -0.1, | |
"updated_at": "2012-09-27T16:12:31Z", | |
"user_handle": "@kevin" | |
}, | |
{ | |
"_id": 10, | |
"count": 2, | |
"created_at": "2012-09-27T16:16:26Z", | |
"followers": 9, | |
"id": 10, | |
"message": "Coca cola sucks, man", | |
"sentiment": -0.6, | |
"updated_at": "2012-12-09T19:57:27Z", | |
"user_handle": "@disser_ono" | |
}, | |
{ | |
"_id": 11, | |
"count": 2, | |
"created_at": "2012-09-27T16:16:46Z", | |
"followers": 23, | |
"id": 11, | |
"message": "Urgh - coke!", | |
"sentiment": -0.7, | |
"updated_at": "2012-12-09T19:46:19Z", | |
"user_handle": "@coke_h8r" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment