Default Behaviour
By default, theScanner class connects to the SCANOSS OSS Knowledge Base API
(OSSKB API) at https://api.osskb.org without requiring authentication.
Using an API Key
To authenticate with a SCANOSS API key, pass it as theapi_key argument to
the Scanner constructor. You can obtain an API key from your SCANOSS account
dashboard.
Note:ScanossSettings()is required by theScannerconstructor and holds the scan configuration. See ScanossSettings for available options.
Using a Custom API Endpoint
To direct the SDK to a different API endpoint, pass theurl argument: