Skip to content

servirtium/worldbank-climate-recordings

Repository files navigation

worldbank-climate-recordings

Actual world bank weather WebAPI is down for now :(

The temporary workaround is we're hosting the pertinent resources ourselves

GitHub's choices of headers - their static hosting

Where they used to be for real

These had a range of AWS headers, as well as some from the microservice (choices of WorldBank dev team). Down for now as mentioned:

Dockerized launch

docker build [email protected]:servirtium/worldbank-climate-recordings.git#main -t worldbank-weather-api-for-servirtium-development
docker run -p 4567:4567 worldbank-weather-api-for-servirtium-development

If you have the docker container running, or ran Sinatra locally after a clone/checkout

Running locally means ruby serve.rb though you maye have to do some gem installation work first.

Clearer URLs via local.gd/. These payloads are gzipped:

These payloads are NOT gzipped:

localhost:4567 and servirtium.local.gd:4567 are equivalents, if that wasn't clear. Details of this tech on local.gd/

If you are playing with this and you are completely offline, swap servirtium.local.gd for localhost or 127.0.0.1