$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "k1",
< "skill": "Rust",
< "role": "Backend Engineer",
< "company": "Acme",
< "mentions": 40
< },
< {
< "id": "k2",
< "skill": "Python",
< "role": "AI Engineer",
< "company": "Beta",
< "mentions": 80
< },
< {
< "id": "k3",
< "skill": "COBOL",
< "role": "Developer",
< "company": "Gamma",
< "mentions": 5
< }
< ],
< "previousItems": [
< {
< "id": "k1",
< "skill": "Rust",
< "role": "Backend Engineer",
< "company": "Acme",
< "mentions": 12
< },
< {
< "id": "k2",
< "skill": "Python",
< "role": "AI Engineer",
< "company": "Beta",
< "mentions": 65
< },
< {
< "id": "k3",
< "skill": "COBOL",
< "role": "Developer",
< "company": "Gamma",
< "mentions": 8
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~skills-demand-acceleration-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'