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

It's hard to tell what arguments API functions accept #179

Closed
ericandrewlewis opened this issue Jul 26, 2016 · 3 comments
Closed

It's hard to tell what arguments API functions accept #179

ericandrewlewis opened this issue Jul 26, 2016 · 3 comments

Comments

@ericandrewlewis
Copy link

The documentation shows some examples of how to use the API, but it's hard to tell what all is possible.

e.g. what arguments does client.messages.get() accept?

It would be nice to see a list of API functions and their signatures.

@dkundel
Copy link
Member

dkundel commented Jul 27, 2016

Hi @ericandrewlewis ,

Overall our helper library is just mirroring our REST API. So all options that you can pass are the "lowercased" version of the arguments described here

I hope that helps! Let me know if you have any other questions.

@lgomez
Copy link

lgomez commented Oct 11, 2016

+1 here.

I started by trying out this library but ended up switching to request because I could not figure out how to paginate over all the messages in our account. It's unclear how to do this even after reading through your API docs and this library's code. Could you provide an example?

Also, not sure where to report this but the numbers reported by the api don't add up. The total number of messages gotten from all the pages does not match the total reported by the api. Any ideas?

@jingming
Copy link
Contributor

The latest version of the library lists out all the parameters that are supported in the docstring. You can also consult the latest jsdoc found here: http://twilio.github.io/twilio-node for all the valid parameters.

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

4 participants