diff options
author | Will Thompson <[email protected]> | 2017-04-09 10:21:56 +0100 |
---|---|---|
committer | Will Thompson <[email protected]> | 2017-04-10 08:18:08 +0100 |
commit | ab60931620066f6704be3010903f779b3cb9c71a (patch) | |
tree | 86211f5f6d5ca7ffb495d48ce98c6d71c30e100b /mastodon/__init__.py | |
parent | 280c60120beb13d00c807c418c765b93da248b19 (diff) | |
download | mastodon.py-ab60931620066f6704be3010903f779b3cb9c71a.tar.gz |
Initial implementation of streaming API
This is missing any error handling and rate-limiting around the stream
itself, but once the stream is established, the full range of events are
supported.
Fixes issue #14.
Diffstat (limited to 'mastodon/__init__.py')
-rw-r--r-- | mastodon/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mastodon/__init__.py b/mastodon/__init__.py index 17f63e6..9c8e39b 100644 --- a/mastodon/__init__.py +++ b/mastodon/__init__.py | |||
@@ -1,2 +1,4 @@ | |||
1 | from mastodon.Mastodon import Mastodon | 1 | from mastodon.Mastodon import Mastodon |
2 | __all__ = ['Mastodon'] | 2 | from mastodon.streaming import StreamListener, MalformedEventError |
3 | |||
4 | __all__ = ['Mastodon', 'StreamListener', 'MalformedEventError'] | ||