# Wiki Elixir

This project provides Elixir client modules to work with Wikipedia and other
MediaWiki APIs.  It currently supports,
* `Wiki.Action` to access the [Action API](
This is a rich set of commands to query or edit almost anything on a wiki.
* `Wiki.EventStreams` to access [EventStreams](,
a real-time feed of events.
* `Wiki.Ores` to access the [ORES]( [API](,
a machine-learning service for estimating revision and edit quality.
* `Wiki.Rest` to access [RESTBase](

Everything you'll find here is beta-quality, please suggest improvements.  Expect the
public interface to change.

## Installation

The package can be installed by adding `wiki_elixir` to your list of dependencies in

def deps do
    {:wiki_elixir, "~> 0.1"}

Documentation can be generated with `mix docs`.

## Usage

Calling the action API,

  |> Wiki.Action.get(%{
    action: :query,
    format: :json,
    meta: :siteinfo,
    siprop: :statistics
  |> IO.inspect()

See each module for more detailed examples.

## Development

The project's homepage is currently [on GitLab](
To contribute, please submit an issue or a pull request.