akrherz / iem-web-services

Code servicing IEM API requests
Apache License 2.0
0 stars 1 forks source link

[cow] create JSON emitting API #111

Open akrherz opened 7 years ago

akrherz commented 7 years ago

The cow website currently does all of its calculations within PHP with the only data emitted wrapped in HTML tables. We can do better. Lets create a JSON emitting API endpoint and allow folks to programatically access the cow :)

Requested additional data to come along for the ride:

akrherz commented 6 years ago

OK, let us think about a JSON schema that would return the Cow content

{"generated_at": "ISO UTC String",
 "params": {"wfos": [], "begints": "ISO9660", "endts": "ISO9660"},
  "stats": {"far": 0.8, "csi": 0.5, "pod": 0.6},
  "events": "GeoJSON Object",
  "stormreports": "GeoJSON Object",
}

The actual work for this implementation will happen in the iem-web-services repository and will link commits there back to here.

akrherz commented 6 years ago

Have delivered a beta-quality API for friendly testing, details are here

akrherz commented 2 years ago

This is generally done, but the TODO items from the first comment remain :/