|
|
@ -2,10 +2,6 @@ import os, argparse, sys, re, json
|
|
|
|
from mwclient import (Site,
|
|
|
|
from mwclient import (Site,
|
|
|
|
errors)
|
|
|
|
errors)
|
|
|
|
|
|
|
|
|
|
|
|
# API CALL
|
|
|
|
|
|
|
|
# https://hub.xpub.nl/sandbox/itchwiki/api.php?action=smwbrowse&browse=pvalue¶ms={ "limit": 1500, "offset": 0, "property" : "Title", "search": "" }&format=json
|
|
|
|
|
|
|
|
# generated orgs.json
|
|
|
|
|
|
|
|
# >>> result = site.api('query', prop='coordinates', titles='Oslo|Copenhagen')
|
|
|
|
|
|
|
|
# login
|
|
|
|
# login
|
|
|
|
site = Site(host='hub.xpub.nl/sandbox', path='/itchwiki/')
|
|
|
|
site = Site(host='hub.xpub.nl/sandbox', path='/itchwiki/')
|
|
|
|
|
|
|
|
|
|
|
|