954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to Grab Streaming(Real Time) Data from Twitter using Python

I am newbie in Python and given a task from my boss to do this :

1. Grab streaming(real time) data from twitter using PyCurl connection and output in JSON
2. Parsing using NLTK and Regular Expression
3. Save it to database file(MySQL)

Note : i took the data from this url : ('http://search.twitter.com/search.json?geocode=-0.789275%2C113.921327%2C1.0km&q=+near%3Aindonesia+ within%3A1km&result_type=recent&rpp=10')

Is there anyone know how to grab a streaming data from twitter using the step above ?
If it is possible that you can give me a complete script for it, because i have a deadline from my office :(, after i will learn from your script :)

Your help would be very grateful :)

sdwinanta
Newbie Poster
1 post since Jul 2011
Reputation Points: 10
Solved Threads: 0
 

Have you listened of site called Google. I usually find it very usefull, for example from simple quary, I got this: http://arstechnica.com/open-source/guides/2010/04/tutorial-use-twitters-new-real-time-stream-api-in-python.ars

pyTony
pyMod
Moderator
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: