đŸ€–
Carnot
  • Carnot - Ă„bne data
  • API opbygning
  • Guides
    • FĂ„ adgang til API
    • Forbind til API
      • Python
      • JS/ TS
      • CURL
  • Data fundament
    • Energiproduktion og forbrug
    • Spotpriser
    • Opladningsplan
    • BilopsĂŠtning
  • Use Cases
    • For dem med elbil
    • For dem med home assistant
    • For dem med varmepumpe og buffertank
  • Extras
    • Keyboard Shortcuts
Powered by GitBook
On this page
  1. Guides
  2. Forbind til API

CURL

#Simpel curl kald

curl -X 'GET' \
  'https://openapi.carnot.dk/openapi/get_predict?energysource={{ predictiontype}}&region={{region}}&daysahead={{no_days}}' \
  -H 'accept: application/json' \
  -H 'apikey: {{ api-key }}' \
  -H 'username: {{ username }}'
PreviousJS/ TSNextEnergiproduktion og forbrug

Last updated 2 years ago