Set credentials with environment variables:
export NETLICENSING_API_KEY="..."
export NETLICENSING_VENDOR_NUMBER="..."
export NETLICENSING_BASE_URL="https://go.netlicensing.io/core/v2/rest"For the public NetLicensing demo vendor, use username/password authentication:
export NETLICENSING_USERNAME="demo"
export NETLICENSING_PASSWORD="demo"Validate a licensee:
python demo/app.py validate CUSTOMER-1 --product-number PRODUCT-1 --module MODULE-1 --node-secret machine-idCreate a NetLicensing Shop token:
python demo/app.py shop-token CUSTOMER-1 --product-number PRODUCT-1The demo prints the validation result or the generated shopURL.