https://github.com/kedarkamthe/node-red-contrib-wikisearch
https://github.com/kedarkamthe/node-red-contrib-wikisearch
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kedarkamthe/node-red-contrib-wikisearch
- Owner: kedarkamthe
- License: mit
- Created: 2017-12-10T13:13:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T15:13:45.000Z (over 7 years ago)
- Last Synced: 2024-11-14T21:32:22.431Z (7 months ago)
- Language: HTML
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/node-red-contrib-wikisearch) [](https://flows.nodered.org/node/node-red-contrib-wikisearch) [](https://github.com/kedarkamthe/node-red-contrib-wikisearch)
# node-red-contrib-wikisearch
[Node-RED](http://nodered.org) node to search input payload on wiki using OpenSearch API which will return wiki results in json|jsonfm|xml|xmlfm formats [node-red-contrib-wikisearch](https://github.com/kedarkamthe/node-red-contrib-wikisearch).
## Install
Run the following command in your Node-RED user directory – typically `~/.node-red`:
```bash
npm i node-red-contrib-wikisearch
```## Usage
Provides one palette node which will use the message payload in string format and returns wiki search results based on configured parameters.
### Output
Returns wiki results using OpenSearch API for given input message payload.
`msg.payload` is having wiki search results in json,jsonfm,xml,xmlfm format.
##### References
This node's input payload structure is based on [node-red-contrib-wikisearch](https://github.com/kedarkamthe/node-red-contrib-wikisearch), which uses [Wiki OpenSearch API](https://www.mediawiki.org/wiki/API:Opensearch).### Input
`msg.payload` :This will be of type String, which needs to be searched on wiki.
### Configuration
Configure the parameters based on [Wiki OpenSearch API Doc](https://www.mediawiki.org/wiki/API:Opensearch)
#### Details
This node will help user to search input payload on wiki using OpenSearch API## Support
If something is not working as expected, or if you think this node could be improved in other ways, [please file an issue](https://github.com/kedarkamthe/node-red-contrib-wikisearch/issues/new) on GitHub.