Generate weather files

Several actual years, one file each

One AMY file per year in the range. 1 credit per year.

Starts a background job and returns {"job_id": ...} immediately. Credits are charged on submission and refunded if the job fails; the balance after the call is in the X-Credits-Remaining response header. Then poll GET /api/jobs/{job_id}, stream /api/jobs/{job_id}/stream, or register a webhook.

post/api/generate/multi-year

Request

  • Base URL: https://epw.tools
  • URL: https://epw.tools/api/generate/multi-year
  • Auth: API key in header X-API-Key

Headers

X-API-Keystring nullable

Request body

latnumber required
lonnumber required
location_namestring required
start_yearinteger required
end_yearinteger required
file_typestring
data_sourcestring
leap_daystring
dc_editionstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.