Erik Scheffers
e97ec7ea0a
Added 'httplib2' as requirement
2011-02-26 14:04:35 +08:00
Erik Scheffers
ec6169292d
Added a few missing endpoints, fixed a few wrong endpoints
2011-02-24 10:53:24 +08:00
Erik Scheffers
e13d371fef
Added API calls "/friendships/incoming" and "/friendships/outgoing"
2011-02-24 10:53:24 +08:00
Erik Scheffers
1c12c9c7d5
Rewrote getProfileImageUrl to handle responses with status 200 (happen
...
when eg. a user does not exist)
2011-02-24 10:53:24 +08:00
Erik Scheffers
66e7040df6
Added documentation to getProfileImageUrl()
2011-02-24 10:53:24 +08:00
Erik Scheffers
4d524fb654
Added getProfileImageUrl() to handle "users/profile_image" api call
2011-02-02 16:58:14 +08:00
Erik Scheffers
7f93acb39e
Modified blukUserLookup:
...
* version argument was ignored
* user_id and screen_name lists were not url-escaped, and always ended
with a trailing comma
* unknown parameter 'lol=1' removed
* allow other arguments to users/lookup to be added (kwargs)
* added http headers to request
2011-01-25 15:55:45 +08:00
Erik Scheffers
6f38c4c27d
Removed debugging print statement
2011-01-19 16:41:33 +08:00
Erik Scheffers
0737c12449
Added callback_url parameter to Twython to set the URL the remote
...
site will use to return the request token.
Supports both OAuth 1.0 and 1.0a methods of setting the oauth_callback
parameter. For OAuth 1.0a support, a patched version of python-oauth2
is currently required (see
https://github.com/simplegeo/python-oauth2/pull/43 ).
Availability of OAuth 1.0a support in python-oauth2 is autodetected
and a suitable warning is given if the remote site requires it but
python-oauth2 doesn't support it.
2011-01-19 16:41:18 +08:00
Ryan McGrath
e5bef0f8e4
Fix header passing, fix isListSubscriber call never firing a request
2011-01-18 03:01:50 -05:00
Ryan McGrath
b225918165
TwythonError should go off of AttributeError instead
2011-01-18 01:43:41 -05:00
Ryan McGrath
7ac349bca4
Merge branch 'master' of git@github.com:ryanmcgrath/twython
2011-01-18 01:34:55 -05:00
Ryan McGrath
d5c34779d9
Woah, how the hell did we never notice this before? Set headers on the instance, not as a generic variable...
2011-01-17 19:50:39 -05:00
Alexander Dutton
90cba31922
Some parameters that need substituting (e.g. addListMember) contain underscores. These weren't matched by the regex, so I've added an underscore to the character group. addListMember now works.
2011-01-08 08:10:45 +08:00
Ryan McGrath
435294e004
Fix username parameter bug
2010-12-13 14:28:23 +09:00
Ryan McGrath
4b2a406b35
Fix for searchTwitterGen search_query parameter, spotted (again) by Jacob Silterra
2010-12-13 14:26:49 +09:00
Ryan McGrath
8ecdaa5bfa
Fix a shortenURL reference bug pointed out by Jacob, incremental release of latest bugfixes because Pypi's been down recently
2010-12-12 14:45:03 +09:00
Ryan McGrath
ace1a87745
Merge branch 'bsn-master'
2010-12-08 19:43:48 +09:00
Eugen Pyvovarov
9133d0f10e
ability to send tweets containing unicode characters like cyrillic word 'тест'
2010-12-08 02:39:06 -08:00
Ryan McGrath
931921be01
Fix for issue #25 , certain search queries not being properly encoded. Thanks to momander for pointing this out...
2010-11-28 17:56:11 +09:00
Eugen Pyvovarov
5f1d0d4e90
verify credentials and return userinfo
2010-11-10 08:27:21 -08:00
Eugen Pyvovarov
a13539884d
in get method we use *kwargs, that's why we need to provide named arguments to the function
2010-11-10 07:33:10 -08:00
Ryan McGrath
0407742fd8
Moved twython-django to be a submodule, better references everything this way (no need to ship useless, bloated code with a release). Twython 1.3.5 will not ship with the extra Django code, as it's now in its own separate repository (this is better, email if you have questions, happy to answer).
2010-11-07 02:20:56 -05:00
Ryan McGrath
2122f6528d
Minor Streaming work; not official, just hackery for fun. Fork and patch or look away.
2010-11-07 02:18:24 -05:00
Ryan McGrath
ed14371d38
Version bump for bug fixes release (1.3.3 => 1.3.4)
2010-10-29 00:32:19 -04:00
Ryan McGrath
969a1b3578
Fix for issue #22 (searchTwitter failing due to args specification); searchTwitter/searchTwitterGen now default to enforcing UTF-8 conversion, constructApiURL calls fixed, guess_mime_type() function consolidated/removed, bump to version 1.3.4 for small release with bug fixes
2010-10-29 00:31:27 -04:00
Ryan McGrath
f9fc3b4a7c
Fix years
2010-10-22 12:43:50 -04:00
Ryan McGrath
3b9527ae69
Fix constructApiURL method, version increment to fix function definitions in new versions
2010-10-20 11:22:31 -04:00
Ryan McGrath
3cef1a463f
Redid some examples, moved examples to core_examples to differentiate from oauth_django_example, version bump to 1.3.2 to fix distribution errors with Pip/etc (dumb binaries were being created earlier, just throwing out the source now and letting pip handle it)
2010-10-19 16:31:09 -04:00
Ryan McGrath
25eda807ab
Oh yeah, forgot to strip these...
2010-10-17 01:44:49 -04:00
Ryan McGrath
95fb03d80c
Removing useless files
2010-10-16 23:43:55 -04:00
Ryan McGrath
9c94da4031
Fix one final piece
2010-10-16 23:40:24 -04:00
Ryan McGrath
eb5541e433
Twython 1.3, OAuth support is now finally included and working. Ships with an example Django application to get people started with OAuth, entire library is refactored to not be a royal clusterfsck. Enjoy.
2010-10-16 23:37:47 -04:00
Ryan McGrath
7ccf8a2baf
Bump version slightly
2010-10-14 10:31:53 -04:00
Ryan McGrath
3f0d64fb3b
Merge branch 'master' of git@github.com:ryanmcgrath/twython
2010-10-14 10:11:31 -04:00
Ryan McGrath
ff46a85e13
Fixing a bug in the 3k build per request from bsavas
2010-10-14 10:11:03 -04:00
Mark Liu
2a5d668801
Added a missing parameter to addListMember
2010-09-12 11:33:32 +08:00
Juan Jose Conti
e9aaaa7c39
Added a method to return a generator based in Twitter search API.
2010-08-24 11:22:03 +08:00
Randall Degges
3580ee22b5
Don't need to include setuptools, heh.
2010-08-18 14:36:18 +08:00
Randall Degges
c2f87f736c
Adding some more PEP-8.
...
All lines should be at most 79 characters in length.
2010-08-18 14:36:18 +08:00
Randall Degges
a8ae71fd75
Adding a bit more PEP-8.
2010-08-18 14:36:01 +08:00
Randall Degges
d5b2c98fb8
PEP-8'ing imports. Also removing useless docstring.
...
Only the *first* docstring defined in a source file will be associated with
that module's __doc__ string. So I'm removing the second one that was there as
it is unnecessary.
2010-08-18 14:36:00 +08:00
Randall Degges
fb6d549eed
Adding blocking for vim swap files.
2010-08-18 14:36:00 +08:00
Randall Degges
9f7e1fa121
Adding a proper MANIFEST.in to the project.
...
This file will instruct setuptools to package *all* important distribution
packages when the code gets uploaded to PyPI.
2010-08-18 14:36:00 +08:00
Randall Degges
d9fcd3a264
Fixing setup.py script to use valid setuptools format.
...
This will fix the broken pip / easy_install issues on many platforms (like
most linux distros).
2010-08-18 14:35:59 +08:00
Ryan McGrath
d630e02b6e
Fixing and closing issue #15 by ebertti - getFollowersStatus() fails when only checking with ID, needs proper query string stuff.
2010-08-16 02:32:55 -07:00
Ryan McGrath
7dbbd954b2
Changing verifyCredentials to not auto-fire on class instantiation. No need to waste network resources; if anybody *wants* to verify credentials from this point onwards, you need to explicitly call instance.verifyCredentials(). This'll help with the upcoming change from Basic Auth...
2010-05-11 01:19:17 -04:00
Ryan McGrath
fc6b9e1362
Updating Trends API to reflect new endpoints.
2010-04-23 00:26:57 -04:00
Ryan McGrath
ab2dd1e2f0
Fixing createFriendship parameter passing - never needed the question mark. How did this sit for so long?
2010-04-10 01:06:37 -04:00
Ryan McGrath
fe59e56361
Added a new bulkUserLookup() method. Takes two optional arrays of user_ids or screen_names and returns data from Twitter concerning all the users in question. (e.g, lol.bulkUserLookup(user_ids=[1,2,3], screen_names=["danmcgrath", "enotionz", "shiftb"])"
2010-03-17 03:19:41 -04:00