{"library":"onelogin","title":"OneLogin Python SDK","description":"Official Python SDK for the OneLogin API (v1 and v2). Supports OAuth2 authentication, user and role management, event and factor APIs, and SAML assertion handling. Current version 3.2.5, requires Python >=3.10. Active development with quarterly releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install onelogin"],"cli":null},"imports":["from onelogin.api.client import OneLoginClient","from onelogin.api.api_client import ApiClient","from onelogin.api.auth_client import AuthClient"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom onelogin.api.client import OneLoginClient\n\nclient = OneLoginClient(\n    client_id=os.environ.get('ONELOGIN_CLIENT_ID', ''),\n    client_secret=os.environ.get('ONELOGIN_CLIENT_SECRET', ''),\n    region='us'\n)\n# Fetch users\nusers = client.get_users()\nprint(f\"Fetched {len(users)} users\")","lang":"python","description":"Initialize the OneLogin client and fetch a list of users.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}