Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README docs for api_call() are incorrect #62

Closed
andrewkreid opened this issue Feb 3, 2016 · 1 comment
Closed

README docs for api_call() are incorrect #62

andrewkreid opened this issue Feb 3, 2016 · 1 comment

Comments

@andrewkreid
Copy link

The README file says

SlackClient.api_call([method, params]) Call the Slack method [method] with the a dict of params in [params]

which implies you'd call it like this

sc.api_call(method="users.list", params=["token":my_token, "user":"U1234567"})

However, you actually call it like this:

sc.api_call(method="users.list", user="U1234567")
@elementc
Copy link
Contributor

#72 fixes this issue.

@ghost ghost closed this as completed in #72 Feb 26, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants