Python example to help you get started. The example shows how to use the plugin to send an API request and get a response from the server.

Please refer to the previous sections coded in PHP to find more details about the APIs parameters and responses, this is just a code sample.

import requests
import json

url = 'https://demo.firassaidi.com/wc-license-manager/'
params = {
    'fslm_v2_api_request': 'verify',
    'fslm_api_key': '0A9Q5OXT13in3LGjM9F3',
    'license_key': 'PDN3NDD5RHX'
}

x = requests.post(url, data = params)

# Parse JSON
response = json.loads(x.text)

print(response)