Code Sharing: CylanceProtect API Python3 Wrapper

Coding + Open Source Justin Robinson todayFebruary 24, 2020

share close

I created simple Python3 wrapper for the Cylance Protect API a few years ago. Feel free to check it out and modify it. It’s not properly tested, but it’s fairly well documented.

Cylance is an artificial intelligence based anti-virus solution that is owned by Blackberry. The following script is a Python3 wrapper for the CylanceProtect API. It’s Object Oriented, so you need to instantiate a new object using the CyPyAPI class and the required arguments, then you’ll have access to all of the methods.


import cypyapi
cylance_object = CyPyApi(Tenant_ID, App_ID, App_Secret)
all_users = cylance_object.get_users()

It’s as simple as that.

Check out the code over on GitHub.

Written by: Justin Robinson

%d bloggers like this: