Water or fuel quantity in jerry cans

Water: people x days x litres a day. The default scenario, relief, is the Sphere minimum of 15 L a person a day with hygiene; for a household drinking store use survival (3 L) or a national code. Fuel: distance and consumption, hours and consumption, or generator kVA. Returns litres and jerry cans.

get/api/jerry-cans

Request

  • Base URL: https://fortitude21.com
  • URL: https://fortitude21.com/api/jerry-cans
  • Auth: none declared

Query parameters

mode'water' | 'fuel'

water (default) or fuel

scenariostring

Water: relief, acute, protracted, survival, nl, se, no, fi, dk, de, custom. Fuel: road, overland, marine, generator, agri, direct

peoplenumber

Water: number of people

daysnumber

Water: number of days

weeksnumber

Water: number of weeks, if no days

distancenumber

Fuel: km (miles with units=us)

consumptionnumber

Fuel: L/100 km (distance) or L/h (time); with units=us, miles per US gallon or US gallons an hour

hoursnumber

Fuel: running hours

kvanumber

Generator rated kVA

units_nnumber

Vehicles, boats or machines

volumenumber

Fuel volume you already know

reservenumber

Margin in per cent

unitsstring

us for miles and US gallons

ratenumber

Water, custom scenario: litres a person a day

loadnumber

Generator scenario: load in per cent, with kva

returnTrip'0' | '1'

Fuel, overland scenario: 1 to count the return leg

canstring

A product slug from our range to size in, e.g. product-20l-stainless-water-can

lang'en' | 'ja'

en or ja

Response

The answer

okboolean required
toolstring

The tool page showing this answer

total_lnumber

Litres to hold, margin included

cansnumber

Number of jerry cans

canobject
workingstring

The arithmetic behind the figure

citestring

Credit line and link to the same answer on fortitude21.com. Show it with the figures.

docsstring

Documentation for this endpoint

assumedstring[]

How the API read inputs it had to interpret (a substance name, a place, a date, a missing value), and parameters it ignored

Changes

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