Lakshman, I'm going to answer your second question. I'll leave the python question up to the python user community.
Using the search API, your task is pretty easy. You would simply run a query like "from:user1 @user2". For example, here are my tweets to @jazzychad: http://search.twitter.com/search?q=from%3Adougw+%40jazzychad To use this as an API call, simply add your postfix 'search' with your preferred format (e.g. http://search.twitter.com/search.json?q=from%3Adougw+%40jazzychad) and you'll have all of the @replies from me to jazzychad. Now, if you want to allow the API to do some work for you, and not have to parse out what tweets were sent two days ago and sooner, you can cache a since_id and add that do your call's query string. Details on the since_id parameter and usage can be found at http://apiwiki.twitter.com/Search+API+Documentation#Search Since you haven't found a Python wrapper for the Search API then you will need a non-Search based method if the community doesn't uncover a wrapper for you. I'll watch this thread, and if no one gets back to you, then I can also give you some tips on how to do this with the REST API. @dougw On Feb 11, 1:38 am, Lakshman Prasad <[email protected]> wrote: > Hi, > > I use the twitter API python wrapper by google. But it is implemented only > for the REST API. > > Is there a python wrapper for the twitter search API? > > And, what is the simplest way to find out > * Whether person X @replied to Y in the last 2 days? -- Can it be > done with Twitter REST API, or do we need Search API, or can we not do it, > nevertheless. > > -- > Regards, > Lakshman > becomingguru.com > lakshmanprasad.com
