'Extracting data from emsi data

import requests

url = "https://emsiservices.com/skills/versions/latest/related"

payload = "{ \"ids\": [ \"KS125QD6K0QLLKCTPJQ0\" ] }"
headers = {
    'Authorization': auth,
    'Content-Type': "application/json"
}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

I am trying to extract data from emsidata for related skills. In this example I have only passed on id. However, I need to pass 10K id and find the related skills. How do I pass multiple (10K) id in the above code



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source