File: api.rst

package info (click to toggle)
twython 3.8.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 600 kB
  • sloc: python: 1,793; makefile: 148; sh: 49
file content (45 lines) | stat: -rw-r--r-- 947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.. _api:

Developer Interface
===================

.. module:: twython

This page of the documentation will cover all methods and classes available to the developer.

Twython, currently, has two main interfaces:

- Twitter's Core API (updating statuses, getting timelines, direct messaging, etc)
- Twitter's Streaming API

Core Interface
--------------

.. autoclass:: Twython
   :special-members: __init__
   :inherited-members:

.. _streaming_interface:

Streaming Interface
-------------------

.. autoclass:: TwythonStreamer
   :special-members: __init__
   :inherited-members:

Streaming Types
~~~~~~~~~~~~~~~

.. autoclass:: twython.streaming.types.TwythonStreamerTypes
   :inherited-members:

.. autoclass:: twython.streaming.types.TwythonStreamerTypesStatuses
   :inherited-members:

Exceptions
----------

.. autoexception:: twython.TwythonError
.. autoexception:: twython.TwythonAuthError
.. autoexception:: twython.TwythonRateLimitError