Live integration example
Most of our work is connecting systems: Xero, CRMs, payment providers, partners’ order feeds. This page does the same thing with a public weather API, so you can see the pattern working.
How this page works
- We ask MET Norway’s Locationforecast API for each place’s forecast, identifying this site as their terms require.
- Each answer is kept until MET Norway says it expires (usually about half an hour), so we never ask more often than we need to.
- If they can’t be reached, that place says so for a few minutes and tries again; the other places carry on.
Fair in Bromyard.
Wind 6.5 m/s,
humidity 80%.
Local time 00:00, Saturday 10 October
Fetched at 00:21 · cached until 00:52 (UK time)
The next 24 hours
Clear sky in London.
Wind 4 m/s,
humidity 78%.
Local time 00:00, Saturday 10 October
Fetched at 00:21 · cached until 00:31 (UK time)
The next 24 hours
Light rain in Paris.
Wind 5.3 m/s,
humidity 88%.
Local time 00:00, Saturday 10 October
Fetched at 00:21 · cached until 00:31 (UK time)
The next 24 hours
Partly cloudy in New York.
Wind 2.3 m/s,
humidity 50%.
Local time 19:00, Friday 9 October
Fetched at 00:21 · cached until 00:35 (UK time)
The next 24 hours
Partly cloudy in Moscow.
Wind 4.2 m/s,
humidity 87%.
Local time 02:00, Saturday 10 October
Fetched at 00:21 · cached until 00:36 (UK time)
The next 24 hours
Cloudy in Sydney.
Wind 6.2 m/s,
humidity 79%.
Local time 10:00, Saturday 10 October
Fetched at 00:21 · cached until 00:51 (UK time)
The next 24 hours
Weather data from MET Norway (the Norwegian Meteorological Institute), licensed under CC BY 4.0. Forecasts are refreshed when they expire, usually every half hour.
The same pattern connects our clients' systems to Xero, SendGrid and partners' order feeds. How we build · a real example.