Last active
April 17, 2025 23:12
-
-
Save dewomser/46c4ece07c3c9a5a8c9a9136937dd4bb to your computer and use it in GitHub Desktop.
Stellenangebote vom Arbeitsamt als API Abfrage mit curl und jq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Das Skript stammt von Der Deutschland API und wurde von mir auf Worms und Elektrotechnik angepasst. | |
# https://github.com/bundesAPI/deutschland | |
jobs=$(curl -m 60 \ | |
-H "X-API-Key: jobboerse-jobsuche" \ | |
'https://rest.arbeitsagentur.de/jobboerse/jobsuche-service/pc/v4/jobs?angebotsart=1&wo=Berlin&umkreis=200&arbeitszeit=ho;mj&page=1&size=25&pav=false') | |
echo $jobs| jq . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Kommanozeile | |
# statt Worms kann auch eine andere Statt eingesetzt werden | |
# Beruf kann auch ersetzt werden | |
# Mögliche Berufe in der Region kann man sich greppen: | |
# curl+URL+ | jq .stellenangebote | grep Beispiele : Elektr,Mecha,Helfer … usw | |
# | |
curl -m 60 -H "X-API-Key: jobboerse-jobsuche\ | |
" 'https://rest.arbeitsagentur.de/jobboerse/jobsuche-service/pc/v4/jobs?angebotsart=1&wo=Worms&umkreis=20&arbeitszeit=ho*;mj&page=1&size=25&pav=false'\ | |
| jq '.stellenangebote [] | select(.beruf=="Schwimmlehrer/in")' |
Author
dewomser
commented
Nov 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment