Skip to content

MasterControl WebServices API Abstraction Module in Python

License

Notifications You must be signed in to change notification settings

olivia-mativi/mcwspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcwspy

MasterControl WebServices API Abstraction Module in Python

Enabling the module

Simply download mcwspy.py and place in your workspace directory, then

>> import mcwspy as mc

Starting a new ws session

Ensure that you have a .env in your workspace directory with the variables:

API_KEY=<your API key here>
SITE_URL=<your site URL to ws json bridge>

Then you can start a new session:

>> s = mc.Session()

Using the session

It's as simple as accessing the instance methods of Session, e.g.:

>> print(s.get_all_users(99999, False).json())

About

MasterControl WebServices API Abstraction Module in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages