https://github.com/djiit/err-wikipedia
err plugin to interact with wikipedia.org
https://github.com/djiit/err-wikipedia
errbot errbot-plugin wikipedia
Last synced: about 1 month ago
JSON representation
err plugin to interact with wikipedia.org
- Host: GitHub
- URL: https://github.com/djiit/err-wikipedia
- Owner: Djiit
- License: mit
- Created: 2016-02-26T14:01:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T15:14:32.000Z (over 7 years ago)
- Last Synced: 2025-01-29T22:46:38.151Z (3 months ago)
- Topics: errbot, errbot-plugin, wikipedia
- Language: Python
- Size: 4.88 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# err-wikipedia - wikipedia.com plugin for Err
[](https://travis-ci.org/Djiit/err-wikipedia) [](https://coveralls.io/github/Djiit/err-wikipedia?branch=master)
Err-wikipedia is a plugin for [Err](https://github.com/gbin/err) that allows you to interact with [wikipedia.org](http://wikipedia.org).
## Features
* Fetch the summary of a Wikipedia page, optionally cropping it if it's too long.
* Set your language in the plugin configuration.
* Support AUTOINSTALL_DEPS thanks to the `requirements.txt` file.Have an idea ? Open an [issue](https://github.com/Djiit/err-wikipedia/issues) or send me a [Pull Request](https://github.com/Djiit/err-wikipedia/pulls).
## Usage
### Installation
As admin of an err chatbot, send the following command over XMPP:
```
!repos install https://github.com/Djiit/err-wikipedia.git
```### Commands
Use `!help Wikipedia` to see the available commands and their explanation.
## Configuration
Send configuration commands through chat message to this plugins as in :
```
!plugin config Wikipedia {'LANGUAGE': 'fr', 'SUMMARY_MAX_LENGTH': 255}
```