Skip to content

added setEndpoint(url) #6

Open
bomelino wants to merge 1 commit into
wilson428:masterfrom
bomelino:master
Open

added setEndpoint(url) #6
bomelino wants to merge 1 commit into
wilson428:masterfrom
bomelino:master

Conversation

@bomelino

@bomelino bomelino commented Jan 6, 2018

Copy link
Copy Markdown

set the endpoint for the api like so:

wiki = require("node-wikipedia");
wiki.setEndpoint("http://de.wikipedia.org/w/api.php") 
// now searching in the german wikipedia

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

Successfully merging this pull request may close these issues.

1 participant