What's Changed
-
Codebase restructured for better maintainability and modularity. Example
api.get.users
is nowapi.users.get_users
. -
Refined feature list, removed
aa_cc_hg_audit
andservice_pack_audit
- they have been moved to docs -
Import has changed from
from odins-spear.Api import Api
tofrom odins-spear import API, Scripter, Reporter
-
Scripter and Reporter are now imported and take in the API object as a parameter.
-
Password is no longer a env variable and is users password. We still recommend you take action to keep your password secure.
-
api.update_api
introduced to updatebase_url, username, password, rate_limit
. This method ensures everything that needs to be is updated. -
Scripter and Reporter is now keyword arguments only.
-
utils now includes
constants
which has service packs and services on BWKS. -
utils/configs now includes json configuration of most common BWKS entities such as user, hunt group, and call centre. The end user can read these in and modify before sending requests.
-
v2.0.0 Ready by @Jordan-Prescott in #200
Full Changelog: v1.5.0...v2.0.0