Greg Nofi
12eb1610c8
Use built-in Exception attributes for storing and retrieving error message.
...
Keeping msg as a property so it's backwards compatible.
Note that this only fixes Python 2.x
2013-04-11 19:42:16 -04:00
Mike Helmick
8dfb076f11
Update authors
2013-04-10 23:08:43 -04:00
Mike Helmick
10dbe11b56
Version bump and update contributors!
2013-04-08 16:40:59 -04:00
Mike Helmick
2b0b26d3ed
Merge pull request #165 from bkvirendra/patch-2
...
Update twython.py (Attribute error, unicode object detected)
2013-04-08 13:38:24 -07:00
Virendra Rajput
6a3539882c
Update twython.py
...
if unicode object is detected, convert it to json using simplejson/json
2013-04-08 22:59:27 +05:30
Mike Helmick
4a181d3ac1
Version bump!
2013-04-08 11:51:34 -04:00
Mike Helmick
abaa3e558a
oauth_verifier required, remove simplejson dependency, update endpoint
...
* Update `updateProfileBannerImage` to use the v1.1 endpoint
* Added `getProfileBannerSizes` method using the GET
/users/profile_banner.json endpoint
* Fixed a couple of endpoints using variable in the url:
* destroyDirectMessage, createBlock, destroyBlock no longer use id in
their urls, this shouldn't break anything though.
(t.destroyDirectMessage(id=123) should still work)
* `oauth_verifier` is now **required** when calling
`get_authorized_tokens`
* Updated docs - removed getProfileImageUrl docs since it is
deprecated. Noted since `Twython` 2.7.0 that users should focus on
migrating to v1.1 endpoints since Twitter is deprecating v1 endpoints
in May!,
2013-04-08 11:49:12 -04:00
Mike Helmick
4d7526efc1
Merge pull request #162 from hansenrum/master
...
OAuth Verifier is now required for Authentication
2013-04-05 09:43:48 -07:00
hansenrum
1eb1bd080d
moved oauth_verifier from init to method
2013-04-05 18:36:58 +02:00
hansenrum
26b3a232d0
oauth_verifier fix
2013-04-05 00:25:23 +02:00
Paul
99a6dccbce
added oauth_verifier arg
2013-04-05 00:12:54 +02:00
Mike Helmick
918510ebc8
Merge pull request #161 from ryanmcgrath/fix-issues
...
Fixes #158 , #159 , #160 ; new endpoint
2013-04-04 11:53:47 -07:00
Mike Helmick
e65790d717
New showOwnedLists method
...
Returns the lists owned by the specified Twitter user. Private lists
will only be shown if the authenticated user is also the owner of the
lists.
2013-04-04 14:52:54 -04:00
Mike Helmick
fffedd4588
Version bump
2013-04-04 14:52:32 -04:00
Mike Helmick
7d1ffefc45
Fixes #158 , #159 , #160
2013-04-04 14:44:05 -04:00
Mike Helmick
a6afb2cf5c
Version bump!
2013-03-31 12:38:07 -04:00
Mike Helmick
e1a7c24153
Merge pull request #156 from bkvirendra/patch-1
...
added the missing slash in "getMentionsTimeline"
2013-03-31 09:35:37 -07:00
Virendra Rajput
454a41fe94
added the missing slash in "getMentionsTimeline"
...
was unable to fetch mentions because of the missing slash and the missing '.json'
2013-03-31 21:23:16 +05:30
Mike Helmick
d6f3d731a2
Merge pull request #155 from michaelhelmick/update-endpoints
...
Update Twitter Endpoints & Internal Functions, 2.6.0 release
2013-03-21 07:20:55 -07:00
Mike Helmick
a172136f3e
Update Twitter Endpoints & Internal Functions
...
* Twitter Endpoints are now in the order of
https://dev.twitter.com/docs/api/1.1
* No need to repeat search function internally when it is available via
`twitter_endpoints.py`
* Make `searchGen` use self.search, instead of self.get with the full
search url
2013-03-20 23:24:26 -04:00
Ryan McGrath
dfca6c533e
Merge pull request #141 from rmerlorangeknocks/master
...
Updating getRateLimiStatus endpoint
2013-02-15 08:20:58 -08:00
Ryan McGrath
2bbed505d5
Merge pull request #143 from gdevanla/update_error_code
...
Update error code to 429 - (to catch rate limit exceptions)
2013-02-15 08:18:06 -08:00
Ryan McGrath
b870d44f28
Merge pull request #149 from myusuf3/master
...
if you dont pass in header you asked for explicitly all are returned.
2013-02-15 08:16:30 -08:00
Ryan McGrath
d5c628f3b5
Merge pull request #147 from U2Ft/requests-1.1.0
...
Updated for requests 1.1.0
2013-02-15 08:15:35 -08:00
Sam Mellor
9bda75b520
Allow versions of requests between 1.0.0 and 2.0.0
...
Requests is semantically versioned, so minor version changes are expected to be compatible.
2013-02-07 22:20:35 +11:00
Mahdi Yusuf
b0f5af37d5
Update twython/twython.py
...
updating default version of api as well. come on playa.
2013-02-05 16:53:47 -05:00
Mahdi Yusuf
dbf2a461b8
Update twython/twython.py
...
making it so that when you don't pass in header you get all of them back.
2013-02-05 16:18:56 -05:00
Sam Mellor
f0db93c59e
updated for requests==1.1.0
2013-01-30 01:00:32 +11:00
Guru Devanla
a28febb0b4
update error code and comment
2013-01-15 16:43:50 -06:00
Guru Devanla
7f0751c27e
Update error code for Twitter Rate Limits. This is for Twitter Api 1.1
2013-01-15 16:40:57 -06:00
Ryan Merl
6baa4fdd14
Updated rate limit status API Endpoint to the v1.1 endpoint
2013-01-10 03:41:22 -05:00
Ryan McGrath
87a3b44a30
Bump to 2.5.5
2013-01-01 20:47:02 -05:00
Ryan McGrath
f8566e6274
Merge pull request #139 from ajaykumarns/master
...
Add new method for deleting multiple members from a list and made version number in the url configurable
2013-01-01 17:34:18 -08:00
Ajay Nadathur
fe3fcbdb04
moved api version into __init__ method and added method to delete multiple users from a list in batch mode
2012-12-30 23:06:36 +00:00
Ryan McGrath
2d3d5b5b68
Bump to 2.5.4
2012-12-14 07:13:28 -05:00
Ryan McGrath
9d66512cdd
Merge pull request #135 from notthatbreezy/oembed_branch
...
Added ability to grab oembed html given a tweet id.
2012-12-14 04:07:07 -08:00
Christopher Brown
d83cc32b3d
Added ability to grab oembed html given a tweet id.
2012-12-06 16:51:34 -05:00
Ryan McGrath
34e9474b91
Version bump
2012-12-01 01:34:38 -05:00
Ryan McGrath
36d68a9264
Merge pull request #134 from michaelhelmick/patch-4
...
Support for Friends and Followers list endpoints
2012-11-30 22:30:07 -08:00
Mike Helmick
7d82206614
Support for Friends and Followers list endpoints
...
"Two new methods in API v1.1 provide simplified access to user friend & follower data: https://dev.twitter.com/docs/api/1.1/get/followers/list … https://dev.twitter.com/docs/api/1.1/get/friends/list … ^TS" - @TwitterAPI
2012-11-29 15:32:07 -05:00
Ryan McGrath
825026099a
Merge pull request #131 from michaelhelmick/patch-3
...
UpdateStatusWithMedia url accounting for API v1
2012-11-16 22:32:25 -08:00
Mike Helmick
80282d9aa7
UpdateStatusWithMedia url accounting for API v1
...
Fixes #130
2012-11-14 15:13:16 -05:00
Ryan McGrath
a125ad6048
Version bump
2012-11-10 20:16:34 -05:00
Ryan McGrath
e85e8e38ad
Merge pull request #127 from michaelhelmick/fix-legacy-urls
...
Fixing up some urls, cleaning up code
2012-11-10 17:03:14 -08:00
Ryan McGrath
51cf846abb
Merge pull request #126 from michaelhelmick/patch-2
...
Version number bump, no need for env python line
2012-11-10 16:57:45 -08:00
Ryan McGrath
e37c6f38bd
Merge pull request #125 from michaelhelmick/patch-1
...
requests==0.14.0 requirement
2012-11-10 16:57:05 -08:00
Mike Helmick
be494d4c77
Fixing up some urls, cleaning up code
...
* Cleaned up exceptionType into ternary
* getProfileImage is only supported in Twitter API v1
* Updated other media update methods to use 1.1 and pass dynamic params
2012-11-09 11:14:36 -05:00
Mike Helmick
d52ce03de4
Version number bump, no need for env python line
2012-11-09 10:50:32 -05:00
Mike Helmick
b8084905d3
requests==0.14.0 requirement
...
Requests needs to be on 0.14.0, otherwise calls with params and files will not work.
2012-11-09 10:30:37 -05:00
Ryan McGrath
909f1919b1
Added @chbrown to list of known contributors
2012-11-09 04:57:56 -05:00