API Reference: Activate¶
masterful.activate¶
- masterful.activate(account_id='', authorization_key='')¶
Authorizes the Masterful library and prepares the system for its use.
This function authorizes usage of the Masterful library, and loads it into memory for use. This function must be called before using or importing any other Masterful packages.
Note this function returns a new Masterful module instance, so you must replace the existing instance like so:
import masterful masterful = masterful.activate(...)
If you need an account_id and authorization_key, register an account here
- Parameters
account_id (str) – The account credentials that were assigned by Masterful.
authorization_key (str) – The authorization key assigned by Masterful for the provided account.
- Returns
Module containing the latest implementation of the Masterful API.
- Return type
module