Hi, I'm trying to learn how to use the client but I don't quite understand what are the available API calls that I can do with it. I was able to post a message into a group but that's it. I would like, for example, to do a users.list call.
Thanks in advance
Hi @tinoargentino! Using this client, you have the ability to interact with the methods available from the Slack Web API, which you can find listed here, as well as the RTM API. I believe you're asking about the Web API, so I'll be referencing that below.
The corresponding API methods on the client follow the pattern of replacing the . that we see in the API documentation linked above with underscores (users.list => users_list). I find it helpful to look at the WebClient class and doing a quick search using that format adjustment.
Last but not least, if you still have any doubts about how to execute the method, doing a search in this repository for the method usually turns up an example in which it's used, as we see here with users_list.
Hope this helps! If you have any further questions, let us know, otherwise feel free to close this issue.
Hi @misscoded thanks so much for such a quick and comprehensive reply! I'm leaving here an additional resource that I found useful since posting my original message
Most helpful comment
Hi @tinoargentino! Using this client, you have the ability to interact with the methods available from the Slack Web API, which you can find listed here, as well as the RTM API. I believe you're asking about the Web API, so I'll be referencing that below.
The corresponding API methods on the client follow the pattern of replacing the
.that we see in the API documentation linked above with underscores (users.list=>users_list). I find it helpful to look at theWebClientclass and doing a quick search using that format adjustment.Last but not least, if you still have any doubts about how to execute the method, doing a search in this repository for the method usually turns up an example in which it's used, as we see here with
users_list.Hope this helps! If you have any further questions, let us know, otherwise feel free to close this issue.