MCPcopy Create free account
hub / github.com/Necriso/ScriptableWidgets / apiURL

Function apiURL

tankstellenpreisev2_beta.js:48–48  ·  view source on GitHub ↗
(location, radius, apiKey)

Source from the content-addressed store, hash-verified

46}
47
48const apiURL = (location, radius, apiKey) => `https://creativecommons.tankerkoenig.de/json/list.php?lat=${location.latitude.toFixed(3)}&lng=${location.longitude.toFixed(3)}&rad=${radius}&sort=dist&type=all&apikey=${apiKey}`
49
50let station = await loadStation()
51let widget = await createWidget(station)

Callers 1

loadStationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected