$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.linkedin.com/jobs/search/?f_TPR=r604800&geoId=100025096&keywords=data+scientist"
< }
< ],
< "keyword": [
< "Software Engineer"
< ],
< "locations": [
< "Montreal, Canada"
< ],
< "publishedAt": "r86400",
< "resumeKeywords": [
< {
< "keyword": "TypeScript",
< "aliases": [
< "TS",
< "JS",
< "JavaScript"
< ]
< },
< {
< "keyword": "Node.js",
< "aliases": [
< "Node",
< "NodeJS"
< ]
< },
< {
< "keyword": "React",
< "aliases": [
< "RN",
< "React Native",
< "Expo",
< "ReactJS"
< ]
< },
< {
< "keyword": "SQL",
< "aliases": [
< "PostgreSQL"
< ]
< },
< {
< "keyword": "Tools",
< "aliases": [
< "Git",
< "Docker",
< "Jira",
< "Postman",
< "GitHub",
< "GitLab",
< "GitHub Copilot",
< "Webpack"
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/cheap_scraper~linkedin-job-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'