Talking to JSS - Honestpuck/charming GitHub Wiki

Set up python-jss

Enter these at the Terminal prompt adjusting for your JSS.

pip install python-jss
export PYTHONPATH="/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC"
defaults write ~/Library/Preferences/com.github.sheagcraig.python-jss.plist jss_user 'tony.williams'
defaults write ~/Library/Preferences/com.github.sheagcraig.python-jss.plist jss_pass 'ASK ME'
defaults write ~/Library/Preferences/com.github.sheagcraig.python-jss.plist jss_url 'https://jss.example.com:8443/demo'

You should probably add the PYTHONPATH line to your .bash_profile file :)