API Reference: Register

masterful.register

masterful.register(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.register(...)

If you need credentials for using Masterful, please request them 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