Using wmf-event-stream-sdk-go with wikimedia.org

Go integration

✓ Official SDK

Install

go get github.com/wikimedia-enterprise/wmf-event-stream-sdk-go

Quick start

import "wmf-event-stream-sdk-go"

// Initialize client
client := wmf-event-stream-sdk-go.NewClient("YOUR_API_KEY")
Gets availability of featured feed content for the apps by wiki domain.
curl \
  -H "cookie: $API_KEY" \
  /feed/availability
Get a previously-stored formula
curl \
  -H "cookie: $API_KEY" \
  /media/math/formula/{hash}
Lists the tools and language pairs available for the given tool category
curl \
  -H "cookie: $API_KEY" \
  /transform/list/tool/{tool}
SDK on GitHub 📄 API Docs
SDK
wmf-event-stream-sdk-go
Go
API
wikimedia.org
wikimedia.org

At a glance

Language Go
Endpoints35
✓ Official