-
Notifications
You must be signed in to change notification settings - Fork 0
API v1
Ross Williams edited this page May 25, 2020
·
7 revisions
Create a wrapper for a given wiki and API version:
from scuttle import scuttle
API_KEY = "eyJ0eXAiOiJKV1QiLC(...)" # Personal Access Token
wiki = scuttle('en', API_KEY, 1)
The wiki here is 'en' and the API version is 1.
If you don't know the domain of your wiki:
print(scuttle(None, API_KEY, 1).wikis())
Find your wiki in the list.
List all wikis:
wiki.wikis()
Get information about a given wiki