Weblate's Python API¶
導入¶
The Python API is shipped separately, you need to install the Weblate クライアント: (wlc) to have it.
pip install wlc
wlc
¶
WeblateException
¶
-
exception
wlc.
WeblateException
¶ Base class for all exceptions.
Weblate
¶
-
class
wlc.
Weblate
(key='', url=None, config=None)¶ - パラメータ
key (str) -- User key
url (str) -- API server URL, if not specified default is used
config (wlc.config.WeblateConfig) -- Configuration object, overrides any other parameters.
Access class to the API, define API key and optionally API URL.