projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbffd7d
)
Pass endpoint parameters to API.request as kwargs in API.reverse_geocode
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 23:27:34 +0000
(17:27 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 23:27:34 +0000
(17:27 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 258ebe633e6f556b568239fdf1f2d941fe0afc91..97ec1054bad3dfe8c1674ca2ad3337321b7d4751 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-1168,9
+1168,9
@@
class API:
""" :reference: https://developer.twitter.com/en/docs/geo/places-near-location/api-reference/get-geo-reverse_geocode
"""
return self.request(
- 'GET', 'geo/reverse_geocode',
lat, long,
endpoint_parameters=(
+ 'GET', 'geo/reverse_geocode', endpoint_parameters=(
'lat', 'long', 'accuracy', 'granularity', 'max_results'
- ), **kwargs
+ ),
lat=lat, long=long,
**kwargs
)
@payload('place')