Skip to content

Commit e0fff3c

Browse files
committed
Use Twitter v1.1 and use secure by default.
1 parent 4e72a02 commit e0fff3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tweepy/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class API(object):
1616

1717
def __init__(self, auth_handler=None,
1818
host='api.twitter.com', search_host='search.twitter.com',
19-
cache=None, secure=False, api_root='/1', search_root='',
19+
cache=None, secure=True, api_root='/1.1', search_root='',
2020
retry_count=0, retry_delay=0, retry_errors=None,
2121
parser=None):
2222
self.auth = auth_handler

0 commit comments

Comments
 (0)