Edited few search() docs
This commit is contained in:
parent
17f54c1eb4
commit
eefbc3ea56
2 changed files with 1 additions and 2 deletions
|
|
@ -367,7 +367,6 @@ class Twython(object):
|
||||||
Pass in the API supported arguments as named parameters.
|
Pass in the API supported arguments as named parameters.
|
||||||
|
|
||||||
e.g x.search(q = "python", page = '2')
|
e.g x.search(q = "python", page = '2')
|
||||||
e.g x.search("python", page = '2')
|
|
||||||
"""
|
"""
|
||||||
searchURL = Twython.constructApiURL("\
|
searchURL = Twython.constructApiURL("\
|
||||||
http://search.twitter.com/search.json", kwargs)
|
http://search.twitter.com/search.json", kwargs)
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ class Twython(object):
|
||||||
|
|
||||||
def searchTwitter(self, **kwargs):
|
def searchTwitter(self, **kwargs):
|
||||||
"""use search(search_query, **kwargs)
|
"""use search(search_query, **kwargs)
|
||||||
searchTwitter("python", page = "2")"""
|
searchTwitter(q = "python", page = "2")"""
|
||||||
return search(self, **kwargs)
|
return search(self, **kwargs)
|
||||||
|
|
||||||
def searchGen(self, search_query, **kwargs):
|
def searchGen(self, search_query, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue