0.1.6 • Published 3 years ago

gotmw v0.1.6

Weekly downloads
-
License
GPL-2.0
Repository
github
Last release
3 years ago

gotmw.js

Node.js MediaWiki client on top of Got.js and many others.

Try our wiki-agent to see how it works.

# git clone to local
cd gotmw
npm install
node sample/wiki-agent.js

Here is a quick demo:

wiki agent demo

By default, all examples is load from file sample/action-examples.json. You could prepare your own examples and store it in your local. Then using the command loadexamples to load your own examples.

Here is a simple query action to wikipedia.org:

{
    "description":"Example to show how to get a login token",
    "action": "query",
    "meta": "tokens",
    "type": "login"
},
0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago