All Versions
21
Latest Version
Avg Release Cycle
119 days
Latest Release
818 days ago

Changelog History
Page 2

  • v3.0.0 Changes

    June 18, 2013
    • ๐Ÿ”„ Changed twython/twython.py to twython/api.py in attempt to make structure look a little neater
    • Removed all camelCase function access (anything like getHomeTimeline is now get_home_timeline)
    • โœ‚ Removed shorten_url. With the requests library, shortening a URL on your own is simple enough
    • twitter_token, twitter_secret and callback_url are no longer passed to Twython.__init__
      • twitter_token and twitter_secret have been replaced with app_key and app_secret respectively
      • callback_url is now passed through Twython.get_authentication_tokens
    • โšก๏ธ Update test_twython.py docstrings per http://www.python.org/dev/peps/pep-0257/
    • Removed get_list_memberships, method is Twitter API 1.0 deprecated
    • Developers can now pass an array as a parameter to Twitter API methods and they will be automatically joined by a comma and converted to a string
    • endpoints.py now contains EndpointsMixin (rather than the previous api_table dict) for Twython, which enables Twython to use functions declared in the Mixin.
    • โž• Added OAuth 2 authentication (Application Only) for when you want to make read-only calls to Twitter without having to go through the whole user authentication ritual (see docs for usage)
    • Added obtain_access_token to obtain an OAuth 2 Application Only read-only access token
    • construct_api_url now accepts keyword arguments like other Twython methods (e.g. instead of passing {'q': 'twitter', 'result_type': 'recent'}, pass q='twitter', result_type='recent')
    • Pass client_args to the Twython __init__ to manipulate request variables. client_args accepts a dictionary of keywords and values that accepted by requests (Session API <http://docs.python-requests.org/en/latest/api/#sessionapi>_) [ex. headers, proxies, verify(SSL verification)] and the "request" section directly below it.
    • Added get_application_rate_limit_status API method for returning the current rate limits for the specified source
    • โž• Added invalidate_token API method which allows registed apps to revoke an access token presenting its client credentials
    • get_lastfunction_header now accepts a default_return_value parameter. This means that if you pass a second value (ex. Twython.get_lastfunction_header('x-rate-limit-remaining', 0)) and the value is not found, it returns your default value
  • v2.10.1 Changes

    May 29, 2013
    • โœ… More test coverage!
    • ๐Ÿ›  Fix search_gen
    • Fixed get_lastfunction_header to actually do what its docstring says, returns None if header is not found
    • Updated some internal API code, __init__ didn't need to have self.auth and self.headers because they were never used anywhere else but the __init__
    • โž• Added disconnect method to TwythonStreamer, allowing users to disconnect as they desire
    • โšก๏ธ Updated TwythonStreamError docstring, also allow importing it from twython
    • ๐Ÿšฆ No longer raise TwythonStreamError when stream line can't be decoded. Instead, sends signal to TwythonStreamer.on_error
    • ๐Ÿ‘ Allow for (int, long, float) params to be passed to Twython Twitter API functions in Python 2, and (int, float) in Python 3
  • v2.10.0 Changes

    May 21, 2013
    • Added get_retweeters_ids method
    • ๐Ÿ›  Fixed TwythonDeprecationWarning on camelCase functions if the camelCase was the same as the PEP8 function (i.e. Twython.retweet did not change)
    • ๐Ÿ›  Fixed error message bubbling when error message returned from Twitter was not an array (i.e. if you try to retweet something twice, the error is not found at index 0)
    • โž• Added "transparent" parameters for making requests, meaning users can pass bool values (True, False) to Twython methods and we convert your params in the background to satisfy the Twitter API. Also, file objects can now be passed seamlessly (see examples in README and in /examples dir for details)
    • Callback URL is optional in get_authentication_tokens to accomedate those using OOB authorization (non web clients)
    • ๐Ÿ‘ท Not part of the python package, but tests are now available along with Travis CI hooks
    • Added __repr__ definition for Twython, when calling only returning
    • Cleaned up Twython.construct_api_url, uses "transparent" parameters (see 4th bullet in this version for explaination)
    • โšก๏ธ Update requests and requests-oauthlib requirements, fixing posting files AND post data together, making authenticated requests in general in Python 3.3
  • v2.9.1 Changes

    May 04, 2013
    • โšก๏ธ "PEP8" all the functions. Switch functions from camelCase() to underscore_funcs(). (i.e. updateStatus() is now update_status())
  • v2.9.0 Changes

    May 04, 2013
    • ๐Ÿ›  Fixed streaming issue #144, added TwythonStreamer to aid users in a friendly streaming experience (streaming examples in examples and README's have been updated as well)
    • ๐Ÿ›  Twython now requires requests-oauthlib 0.3.1, fixes #154 (unable to upload media when sending POST data with the file)
  • v2.8.0 Changes

    April 29, 2013
    • โž• Added a HISTORY.rst to start tracking history of changes
    • โšก๏ธ Updated twitter_endpoints.py to endpoints.py for cleanliness
    • โœ‚ Removed twython3k directory, no longer needed
    • โž• Added compat.py for compatability with Python 2.6 and greater
    • Added some ascii art, moved description of Twython and __author__ to __init__.py
    • โž• Added version.py to store the current Twython version, instead of repeating it twice -- it also had to go into it's own file because of dependencies of requests and requests-oauthlib, install would fail because those libraries weren't installed yet (on fresh install of Twython)
    • โœ‚ Removed find_packages() from setup.py, only one package (we can just define it)
    • โž• added quick publish method for Ryan and I: python setup.py publish is faster to type and easier to remember than python setup.py sdist upload
    • Removed base_url from endpoints.py because we're just repeating it in Twython.__init__
    • Twython.get_authentication_tokens() now takes callback_url argument rather than passing the callback_url through Twython.__init__, callback_url is only used in the get_authentication_tokens method and nowhere else (kept in init though for backwards compatability)
    • โšก๏ธ Updated README to better reflect current Twython codebase
    • โž• Added warnings.simplefilter('default') line in twython.py for Python 2.7 and greater to display Deprecation Warnings in console
    • Added Deprecation Warnings for usage of twitter_token, twitter_secret and callback_url in Twython.__init__
    • Headers now always include the User-Agent as Twython vXX unless User-Agent is overwritten
    • โœ‚ Removed senseless TwythonError thrown if method is not GET or POST, who cares -- if the user passes something other than GET or POST just let Twitter return the error that they messed up
    • โœ‚ Removed conversion to unicode of (int, bool) params passed to a requests. requests isn't greedy about variables that can't be converted to unicode anymore
    • โœ‚ Removed bulkUserLookup (please use lookupUser instead), removed getProfileImageUrl (will be completely removed from Twitter API on May 7th, 2013)
    • โšก๏ธ Updated shortenUrl to actually work for those using it, but it is being deprecated since requests makes it easy for developers to implement their own url shortening in their app (see https://github.com/ryanmcgrath/twython/issues/184)
    • ๐Ÿ‘€ Twython Deprecation Warnings will now be seen in shell when using Python 2.7 and greater
    • 0๏ธโƒฃ Twython now takes ssl_verify parameter, defaults True. Set False if you're having development server issues
    • Removed internal _media_update function, we could have always just used self.post
  • v2.7.3 Changes

    April 12, 2013
    • ๐Ÿ›  Fixed issue where Twython Exceptions were not being logged correctly
  • v2.7.2 Changes

    April 08, 2013
    • ๐Ÿ›  Fixed AttributeError when trying to decode the JSON response via Response.json()
  • v2.7.1 Changes

    April 08, 2013
    • โœ‚ Removed simplejson dependency
    • ๐Ÿ›  Fixed destroyDirectMessage, createBlock, destroyBlock endpoints in twitter_endpoints.py
    • โž• Added getProfileBannerSizes method to twitter_endpoints.py
    • Made oauth_verifier argument required in get_authorized_tokens
    • โšก๏ธ Update updateProfileBannerImage to use v1.1 endpoint
  • v2.7.0 Changes

    April 04, 2013
    • ๐Ÿ†• New showOwnedLists method