api: Implement /users/me/<stream_id>/topics.
This commit is contained in:
parent
b1ab308c26
commit
817636cbc6
2 changed files with 29 additions and 0 deletions
|
@ -848,6 +848,16 @@ class Client(object):
|
|||
request=None,
|
||||
)
|
||||
|
||||
def get_stream_topics(self, stream_id):
|
||||
# type: (int) -> Dict[str, Any]
|
||||
'''
|
||||
See examples/get-stream-topics for example usage.
|
||||
'''
|
||||
return self.call_endpoint(
|
||||
url='users/me/{}/topics'.format(stream_id),
|
||||
method='GET'
|
||||
)
|
||||
|
||||
def get_subscribers(self, **request):
|
||||
# type: (**Any) -> Dict[str, Any]
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue