wikibaseintegrator.wikibaseintegrator
Main class of the Library.
- class wikibaseintegrator.wikibaseintegrator.WikibaseIntegrator(is_bot=False, login=None)[source]
Bases:
object
- Parameters:
is_bot (bool)
login (_Login | None)
- __init__(is_bot=False, login=None)[source]
This function initializes a WikibaseIntegrator instance to quickly access different entity type instances.
- Parameters:
is_bot (
bool
) – declare if the bot flag must be set when you interact with the MediaWiki API.login (
_Login
|None
) – a wbi_login instance needed when you try to access a restricted MediaWiki instance.