Skip to main content

Lightweight library to work with MediaWiki-API

Project description

WikiService

Lightweight python library for simple MediaWiki-API requests.

Example of usage

from wikiservice import APIService
s = APIService.WikiAPIService(username='John Doe', password='seceretpass',
domain='INC-DOMAIN', api_url='https://wiki-url.org/api.php')

s.login()
s.createPage(title='Sample page', text='There is a sample text')

s.logout()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikiservice-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page