Python3 Example

Here is an example of constructing a request for Gender analytics API

import requests
import json

url = " https://api.neuron360.io/analytics/gender"

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",
	"ethnicity": "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)