Skip to content

Latest commit

 

History

History

ondemand

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Wikimedia Enterprise On-Demand API example

Simple piece of code that shows how to:

  • do an article look up in a specific project.
  • get all the available projects.

Getting started

  1. First just export environment variables:

    export WME_USERNAME="superuser";
    export WME_PASSWORD="secret";
  2. Then you should be able to just run:

    go run main.go
  3. Note that if you are running this from the root use this command:

    go run example/ondemand/main.go