Python3 Example
Here is an example of constructing a request for DEI analytics API
import requests
import json
url = " https://api.neuron360.io/analytics/dei"
payload = json.dumps({
"country": "string",
"country_code": "string",
"state": "string",
"state_code": "string",
"msa_name": "string",
"msa_code": "string",
"industry_standard": "string",
"industry_code": "string",
"revenue_code": "string",
"employees_code": "string",
"seniority": "string",
"age_code": "string",
"gender": "string",
"job_function_code": "string"
})
headers = {
'x-api-key': <<INSERT YOUR API KEY HERE>>,
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Updated 10 months ago
What’s Next