api: Implement POST /users/me/alert_words.

This commit is contained in:
Yago González 2018-07-12 19:32:42 +05:30 committed by Eeshan Garg
parent c057e0df14
commit c661d78b63

View file

@ -902,6 +902,16 @@ class Client(object):
method='GET'
)
def add_alert_words(self, alert_words):
# type: (List[str]) -> Dict[str, Any]
return self.call_endpoint(
url='users/me/alert_words',
method='POST',
request={
'alert_words': alert_words
}
)
def list_subscriptions(self, request=None):
# type: (Optional[Dict[str, Any]]) -> Dict[str, Any]
'''