aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_api.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for completing nicksTrygve Aaberge2024-02-181-0/+31
| | | | | | | This uses Slacks edgeapi which only works for session tokens, but has the benefit of being able to complete nicks without all users being loaded. So need to add some completion for the loaded users for when using OAuth tokens as well.
* Print error message on http/api errorTrygve Aaberge2024-02-181-31/+69
|
* Send params as post body instead of query paramsTrygve Aaberge2024-02-181-2/+4
|
* Use Iterable instead of List in parametersTrygve Aaberge2024-02-181-3/+3
|
* Fetch multiple users/bots in the same requestTrygve Aaberge2024-02-181-8/+13
| | | | | | | Turns out you can query for multiple users/bots with users.info/bots.info even though it's not documented. Use that to query for multiple users/bots in one request, instead of making tons of requests.
* Change SlackUsers to singular since it only concerns one userTrygve Aaberge2024-02-181-3/+3
|
* Show nick suffix for botsTrygve Aaberge2024-02-181-1/+5
|
* Rename slack_timeout to network_timeoutTrygve Aaberge2024-02-181-1/+1
|
* Call rtm.connect (doesn't connect to web socket yet)Trygve Aaberge2024-02-181-0/+4
|
* Add some todosTrygve Aaberge2024-02-181-1/+1
|
* Add typing for slack conversations historyTrygve Aaberge2024-02-181-2/+5
|
* Add type for users.infoTrygve Aaberge2024-02-181-1/+2
|
* Add typings for users.conversationsTrygve Aaberge2024-02-181-1/+2
|
* Create directory for slack in typingsTrygve Aaberge2024-02-181-2/+2
|
* Create functions for fetch requestsTrygve Aaberge2024-02-181-8/+41
|
* Move SlackApi to a separate fileTrygve Aaberge2024-02-181-0/+48