## 3.0.0 - 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``) Fixes #199 - 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__`` Fixes #185 - ``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`` [ci skip]
28 lines
795 B
Python
28 lines
795 B
Python
# ______ __ __
|
|
# /_ __/_ __ __ __ / /_ / /_ ____ ____
|
|
# / / | | /| / // / / // __// __ \ / __ \ / __ \
|
|
# / / | |/ |/ // /_/ // /_ / / / // /_/ // / / /
|
|
# /_/ |__/|__/ \__, / \__//_/ /_/ \____//_/ /_/
|
|
# /____/
|
|
|
|
"""
|
|
Twython
|
|
-------
|
|
|
|
Twython is a library for Python that wraps the Twitter API.
|
|
|
|
It aims to abstract away all the API endpoints, so that additions to the library
|
|
and/or the Twitter API won't cause any overall problems.
|
|
|
|
Questions, comments? ryan@venodesigns.net
|
|
"""
|
|
|
|
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
|
|
__version__ = '3.0.0'
|
|
|
|
from .api import Twython
|
|
from .streaming import TwythonStreamer
|
|
from .exceptions import (
|
|
TwythonError, TwythonRateLimitError, TwythonAuthError,
|
|
TwythonStreamError
|
|
)
|