Simplify Licensing: Dowell’s Compatibility API at Your Service!
The Open Source License Compatibility check API by Dowell provides access to a wide range of legal information and resources. It allows developers to retrieve information about software licenses, legal documents, legal entities, check license compatibility, and more. The API aims to facilitate the integration of legal information into applications, websites, or other software systems.
Use the legalzard API to access comprehensive details regarding a specific software license. This feature allows users to gather all relevant information pertaining to a particular license quickly and efficiently.
Input necessary information about a software license into the database using this functionality. By leveraging the legalzard API, users can seamlessly add new licenses, ensuring accurate and up-to-date records in the database.
Rectify any inaccuracies or outdated information associated with a software license by utilizing this feature. With the legalzard API, users can easily update license details, ensuring data integrity and accuracy.
Remove licenses from the database effortlessly using this functionality provided by the legalzard API. Users can promptly delete licenses that are no longer relevant or required, maintaining a clean and organized database.
Assess the compatibility between two licenses with this feature, which provides a percentage estimate of their suitability for use in the same project. By utilizing the legalzard API, users can determine the compatibility of licenses quickly and accurately.
Ability to generate the different kinds of policies required by websites and applications such as Software License Policy, Privacy Policies, Terms and Conditions, Cookies Policy, Disclaimers, End User License Agreements, Return and Refund, Website Terms of use, Employment contracts, Memorandum of Understanding, Non-Disclosure Agreements, GDPR Privacy Policy, Statement of Work, Non Compete Agreement and Website Security Policy.
The results of the Open Source License Compatibility check API by Dowell are grouped into two groups:
Compatibility Results: This tool estimates how well software licenses work together, helping developers choose compatible packages. It gives a percentage rating, with 50% as the minimum for compatibility, and 70% for strong compatibility. Explanation follows on why percentages are high or low
License Information: This is a summary of all the important details that is relevant for a given Software License. The user is able to have all this information in a summarized way without the need of an attorney.
Compliant Agreements: In this case, a url to a given policy custom to your application or website is given. This ranges from Software License Policy, Privacy Policies, Terms and Conditions, Cookies Policy, Disclaimers, End User License Agreements, Return and Refund, Website Terms of use, Employment contracts, Memorandum of Understanding, Non-Disclosure Agreements, GDPR Privacy Policy, Statement of Work, Non Compete Agreement and Website Security Policy. The user(often a developer) can then make use of the policy as needed or they can convert them to a pdf format if printing is needed.
For detailed API documentation, including endpoint descriptions, request and response examples, and authentication details, please refer to the API documentation
In the following scenarios, Dowell will furnish comprehensive instructions on obtaining the Service key and guide you through the steps to use the API. You’ll find examples in various formats such as Python, PHP, React, Flutter, and WordPress in the tabs below. Feel free to explore the examples in each tab for practical insights.
You can use the “Retrieve License” endpoint to get detailed information about a particular software license.
This API allows the generation of various policies such as Software License Policy, Privacy Policies, Terms and Conditions, Cookies Policy, and more.
The API offers a percentage rating to indicate how well software licenses work together, with explanations provided for high or low percentages.
Yes, the API provides links to customized policies suitable for various applications or websites.
Yes, you can convert the policies provided by the API into PDF format if printing is necessary.
If you encounter any issues, have questions, or need assistance with Open Source License Compatibility check API by Dowell, you can contact the support team for prompt assistance. Contact us at Dowell@dowellresearch.uk
The compatibility information is regularly updated to ensure accuracy and relevance.
Yes, the API can assist in generating various policies required for legal compliance, such as GDPR Privacy Policy, Terms and Conditions, and more.
The API does not impose a limit on the number of licenses you can manage, allowing flexibility for different use cases.
Dowell UX Living Lab offers a wide range of APIs to enhance user experience and streamline various processes. To explore the full list of APIs available, including Dowell SMS, Dowell Newsletter, Samanta Content Evaluator, and many more.
For more details and to explore the complete list of APIs provided by Dowell UX Living Lab, please visit our documentation page.
The Python code sends an HTTP GET request to retrieve a single license from the Dowell Normality Test API. It includes the API key in the request headers and retrieves the specified license.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/'
api_key = 'Your API Key' # Replace with your actual API key
headers = {'API-KEY': api_key}
response = requests.get(url, headers=headers)
print(response.json())
The Python code sends an HTTP GET request to the API for retrieving licenses. It includes the API key in the request headers and retrieves the available licenses.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses/'
api_key = 'Your API Key' # Replace with your actual API key
headers = {'API-KEY': api_key}
response = requests.get(url, headers=headers)
print(response.json())
The Python code sends an HTTP PUT request to update a license using the Dowell Normality Test API. It includes an API key in the request headers and sends JSON data containing updated license information.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/'
api_key = 'Your API Key' # Replace with your actual API key
data = {
# JSON data containing updated license information
"license_name": "Test & Sample Update",
# ... (include other updated fields as required)
}
headers = {
'API-KEY': api_key,
'Content-Type': 'application/json'
}
response = requests.put(url, headers=headers, json=data)
print(response.json())
This Python code sends an HTTP DELETE request to the specified license’s URL using the provided event_id
. The code includes the API key in the request headers and checks the response to determine whether the license deletion was successful.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses//' # Replace with the actual event ID
api_key = 'Your API Key' # Replace with your actual API key
headers = {'API-KEY': api_key}
response = requests.delete(url, headers=headers)
if response.status_code == 204:
print('License deleted successfully.')
else:
print('License deletion failed.')
This Python code sends an HTTP POST request to check the compatibility of two licenses using the Dowell Normality Test API. It includes the API key in the request headers and sends JSON data with the required parameters.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses/'
api_key = 'Your API Key' # Replace with your actual API key
data = {
"action_type": "check-compatibility",
"license_event_id_one": "FB1010000000016839611235973491",
"license_event_id_two": "FB1010000000016844191805602953",
"user_id": 609,
"organization_id": "63cf89a0dcc2a171957b290b"
}
headers = {
'API-KEY': api_key,
'Content-Type': 'application/json'
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
This Python code sends an HTTP GET request to retrieve comparison history for license compatibility using the Dowell Normality Test API. It includes the API key in the request headers and specifies the required parameters in the URL.
import requests
url = 'https://100080.pythonanywhere.com/api/public/licenses/'
api_key = 'Your API Key' # Replace with your actual API key
organization_id = '' # Replace with the organization ID
user_id = '' # Replace with the user ID
params = {
'collection_type': 'license-compatibility-history',
'organization_id': organization_id,
'user_id': user_id,
}
headers = {'API-KEY': api_key}
response = requests.get(url, params=params, headers=headers)
print(response.json())
The PHP code constructs an HTTP GET request to retrieve a single license from the Dowell Normality Test API. It includes the API key in the request headers and retrieves the specified license.
[
'header' => "API-KEY: $api_key",
'method' => 'GET',
],
];
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
if ($response !== false) {
$data = json_decode($response, true);
print_r($data);
} else {
echo 'Request failed';
}
?>
The PHP code constructs an HTTP GET request to the API for fetching licenses. It includes the API key in the request headers and retrieves the available licenses.
$url = 'https://100080.pythonanywhere.com/api/public/licenses/';
$api_key = 'Your API Key'; // Replace with your actual API key
$options = [
'http' => [
'header' => "API-KEY: $api_key\r\n",
'method' => 'GET',
]
];
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
echo $result;
The PHP code constructs an HTTP PUT request to update a license using the Dowell Normality Test API. It includes an API key in the request headers and sends JSON data containing the updated license information.
$url = 'https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/';
$api_key = 'Your API Key'; // Replace with your actual API key
$data = [
// Associative array with updated license information
"license_name" => "Test & Sample Update",
// ... (include other updated fields as required)
];
$options = [
'http' => [
'header' => "API-KEY: $api_key\r\n" . "Content-Type: application/json\r\n",
'method' => 'PUT',
'content' => json_encode($data)
]
];
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
echo $result;
This PHP code constructs an HTTP DELETE request to delete a license with the specified event_id
. It includes the API key in the request headers and checks the response status code to determine the success or failure of the license deletion.
$url = 'https://100080.pythonanywhere.com/api/public/licenses//'; // Replace with the actual event ID
$api_key = 'Your API Key'; // Replace with your actual API key
$options = [
'http' => [
'header' => "API-KEY: $api_key\r\n",
'method' => 'DELETE',
]
];
$context = stream_context_create($options);
$result = file_get_contents("$url?=", false, $context);
if (strpos($http_response_header[0], '204') !== false) {
echo 'License deleted successfully.';
} else {
echo 'License deletion failed.';
}
This PHP code constructs an HTTP POST request to check the compatibility of two licenses using the Dowell Normality Test API. It includes the API key in the request headers and sends JSON data with the required parameters.
$url = 'https://100080.pythonanywhere.com/api/public/licenses/';
$api_key = 'Your API Key'; // Replace with your actual API key
$data = [
"action_type" => "check-compatibility",
"license_event_id_one" => "FB1010000000016839611235973491",
"license_event_id_two" => "FB1010000000016844191805602953",
"user_id" => 609,
"organization_id" => "63cf89a0dcc2a171957b290b"
];
$options = [
'http' => [
'header' => "API-KEY: $api_key\r\n" . "Content-Type: application/json\r\n",
'method' => 'POST',
'content' => json_encode($data)
]
];
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
echo $result;
This PHP code constructs an HTTP GET request to retrieve comparison history for license compatibility using the Dowell Normality Test API. It includes the API key in the request headers and specifies the required parameters in the URL.
$url = 'https://100080.pythonanywhere.com/api/public/licenses/';
$api_key = 'Your API Key'; // Replace with your actual API key
$organization_id = ''; // Replace with the organization ID
$user_id = ''; // Replace with the user ID
$query_params = http_build_query([
'collection_type' => 'license-compatibility-history',
'organization_id' => $organization_id,
'user_id' => $user_id,
]);
$options = [
'http' => [
'header' => "API-KEY: $api_key\r\n",
'method' => 'GET',
]
];
$context = stream_context_create($options);
$result = file_get_contents("$url?$query_params", false, $context);
echo $result;
The React code uses the Fetch API to send an HTTP GET request to retrieve a single license from the Dowell Normality Test API. It includes the API key in the request headers and displays the obtained license data within a React component.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
useEffect(() => {
const fetchData = async () => {
const url = 'https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/';
const api_key = 'Your API Key'; // Replace with your actual API key
const headers = new Headers({
'API-KEY': api_key,
});
const response = await fetch(url, { method: 'GET', headers });
const result = await response.json();
setResponse(result);
};
fetchData();
}, []);
return (
{JSON.stringify(response, null, 2)}
);
};
The React code uses the Fetch API to send an HTTP GET request to the API for retrieving licenses. It includes the API key in the request headers and displays the obtained license data within a React component.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
useEffect(() => {
const fetchData = async () => {
const url = 'https://100080.pythonanywhere.com/api/public/licenses/';
const api_key = 'Your API Key'; // Replace with your actual API key
const headers = new Headers({
'API-KEY': api_key,
});
const response = await fetch(url, { method: 'GET', headers });
const result = await response.json();
setResponse(result);
};
fetchData();
}, []);
return (
{JSON.stringify(response, null, 2)}
);
};
The React code utilizes the Fetch API to send an HTTP PUT request to update a license using the Dowell Normality Test API. It includes an API key in the request headers and sends JSON data containing the updated license information.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
useEffect(() => {
const fetchData = async () => {
const url = 'https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/';
const api_key = 'Your API Key'; // Replace with your actual API key
const data = {
// JSON data containing updated license information
"license_name": "Test & Sample Update",
// ... (include other updated fields as required)
};
const headers = new Headers({
'API-KEY': api_key,
'Content-Type': 'application/json',
});
const response = await fetch(url, { method: 'PUT', headers, body: JSON.stringify(data) });
const result = await response.json();
setResponse(result);
};
fetchData();
}, []);
return (
{JSON.stringify(response, null, 2)}
);
};
In this React code, the event_id
is directly included in the URL, and the DELETE request is sent to delete the license. User input is not needed in this case.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
const event_id = ''; // Replace with the actual event ID
useEffect(() => {
const deleteLicense = async () => {
const url = `https://100080.pythonanywhere.com/api/public/licenses/${event_id}/`;
const api_key = 'Your API Key'; // Replace with your actual API key
const headers = new Headers({
'API-KEY': api_key,
});
const response = await fetch(url, { method: 'DELETE', headers });
if (response.status === 204) {
setResponse('License deleted successfully.');
} else {
setResponse('License deletion failed.');
}
};
deleteLicense();
}, []);
return (
{response}
);
};
This React code uses the Fetch API to send an HTTP POST request to check the compatibility of two licenses using the Dowell Normality Test API. It includes the API key in the request headers and sends JSON data with the required parameters.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
useEffect(() => {
const checkCompatibility = async () => {
const url = 'https://100080.pythonanywhere.com/api/public/licenses/';
const api_key = 'Your API Key'; // Replace with your actual API key
const data = {
"action_type": "check-compatibility",
"license_event_id_one": "FB1010000000016839611235973491",
"license_event_id_two": "FB1010000000016844191805602953",
"user_id": 609,
"organization_id": "63cf89a0dcc2a171957b290b"
};
const headers = new Headers({
'API-KEY': api_key,
'Content-Type': 'application/json',
});
const response = await fetch(url, { method: 'POST', headers, body: JSON.stringify(data) });
const result = await response.json();
setResponse(result);
};
checkCompatibility();
}, []);
return (
{JSON.stringify(response, null, 2)}
);
};
This React code sends an HTTP GET request to retrieve comparison history for license compatibility using the Dowell Normality Test API. User input is not needed for this GET request.
import React, { useState, useEffect } from 'react';
const MyComponent = () => {
const [response, setResponse] = useState(null);
const organization_id = ''; // Replace with the organization ID
const user_id = ''; // Replace with the user ID
useEffect(() => {
const fetchHistory = async () => {
const url = 'https://100080.pythonanywhere.com/api/public/licenses/';
const api_key = 'Your API Key'; // Replace with your actual API key
const params = new URLSearchParams({
collection_type: 'license-compatibility-history',
organization_id,
user_id,
});
const headers = new Headers({
'API-KEY': api_key,
});
const response = await fetch(`${url}?${params.toString()}`, { method: 'GET', headers });
const result = await response.json();
setResponse(result);
};
fetchHistory();
}, []);
return (
{JSON.stringify(response, null, 2)}
);
};
The Flutter code initiates an HTTP GET request to retrieve a single license from the Dowell Normality Test API. It includes the API key in the request headers and prints the obtained license information.
import 'package:http/http.dart as http;
void fetchLicense() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/');
final api_key = 'Your API Key'; // Replace with your actual API key
final response = await http.get(
url,
headers: {'API-KEY': api_key},
);
final result = response.body;
print(result);
}
void main() {
fetchLicense();
}
The Flutter code initiates an HTTP GET request to the API for retrieving licenses. It includes the API key in the request headers and prints the obtained license information.
import 'package:http/http.dart as http;
void fetchData() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses/');
final api_key = 'Your API Key'; // Replace with your actual API key
final response = await http.get(
url,
headers: {'API-KEY': api_key},
);
final result = response.body;
print(result);
}
void main() {
fetchData();
}
The Flutter code issues an HTTP PUT request to update a license using the Dowell Normality Test API. It includes an API key in the request headers and sends a map containing the updated license information.
import 'dart:convert';
import 'package:http/http.dart as http;
void updateLicense() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses/FB1010000000168560084055071802/');
final api_key = 'Your API Key'; // Replace with your actual API key
final data = {
// Map with updated license information
"license_name": "Test & Sample Update",
// ... (include other updated fields as required)
};
final response = await http.put(
url,
headers: {
'API-KEY': api_key,
'Content-Type': 'application/json',
},
body: jsonEncode(data),
);
final result = response.body;
print(result);
}
void main() {
updateLicense();
}
In this Flutter code, the event_id
is directly included in the URL, and the DELETE request is sent to delete the license. User input is not needed for DELETE operations.
import 'package:http/http.dart as http;
void deleteLicense() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses//'); // Replace with the actual event ID
final api_key = 'Your API Key'; // Replace with your actual API key
final response = await http.delete(
url,
headers: {'API-KEY': api_key},
);
if (response.statusCode == 204) {
print('License deleted successfully.');
} else {
print('License deletion failed.');
}
}
void main() {
deleteLicense();
}
This Flutter code sends an HTTP POST request to check the compatibility of two licenses using the Dowell Normality Test API. It includes the API key in the request headers and sends JSON data with the required parameters.
import 'dart:convert';
import 'package:http/http.dart as http;
void checkCompatibility() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses/');
final api_key = 'Your API Key'; // Replace with your actual API key
final data = {
"action_type": "check-compatibility",
"license_event_id_one": "FB1010000000016839611235973491",
"license_event_id_two": "FB1010000000016844191805602953",
"user_id": 609,
"organization_id": "63cf89a0dcc2a171957b290b"
};
final response = await http.post(
url,
headers: {
'API-KEY': api_key,
'Content-Type': 'application/json',
},
body: jsonEncode(data),
);
final result = response.body;
print(result);
}
void main() {
checkCompatibility();
}
This Flutter code sends an HTTP GET request to retrieve comparison history for license compatibility using the Dowell Normality Test API. User input is not needed for this GET request.
import 'package:http/http.dart as http;
void fetchComparisonHistory() async {
final url = Uri.parse('https://100080.pythonanywhere.com/api/public/licenses/');
final api_key = 'Your API Key'; // Replace with your actual API key
final organization_id = ''; // Replace with the organization ID
final user_id = ''; // Replace with the user ID
final queryParameters = {
'collection_type': 'license-compatibility-history',
'organization_id': organization_id,
'user_id': user_id,
};
final response = await http.get(
url.replace(queryParameters: queryParameters),
headers: {'API-KEY': api_key},
);
final result = response.body;
print(result);
}
void main() {
fetchComparisonHistory();
}
First, Set up the API name, unique ID and the base url(below). It’s a prerequisite to have WP-GET API plugin installed in your wordpress website
After Setting up the API name and the base url. Set up the api endpoint and the request headers. Request headers should have the necessary fields as shown below. Replace API-KEY header with your api key.
After Setting up the API name and the base url. Set up the api endpoint and the request headers. Request headers should have the necessary fields as shown below. Replace API-KEY header with your api
Set up the api endpoint and the request body and headers. Request body and headers should have the necessary fields as shown below. Replace API-KEY header field with your api key.
D’Well Research validates and explores each stage of open innovation using user experience research from the field to support user-centered product design of medium and large companies globally.