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

How to pass parameters to the bot.parse call? #158

Open
PaulWieland opened this issue Sep 10, 2019 · 1 comment
Open

How to pass parameters to the bot.parse call? #158

PaulWieland opened this issue Sep 10, 2019 · 1 comment

Comments

@PaulWieland
Copy link

PaulWieland commented Sep 10, 2019

I'm trying to get the page sections out of a wiki page. According to the docs, this should be doable by passing paramaters prop=sections to the parse API call, but I don't know how to do this with the nodemw bot.parse interface.

Is there a way?

@ghost
Copy link

ghost commented Jun 11, 2020

Necro - you would use this instead:

client.api.call( { /* API params */ }, function( err, info, next, data ) {
} )

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

1 participant