Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
weather/providers/openmeteo
default
Variable default
default
:
{
extrasUrl
:
(
opts
:
WeatherOpts
)
=>
string
;
fetch
:
(
opts
:
WeatherOpts
,
request
:
RequestFn
,
done
:
DoneFn
)
=>
void
;
fetchForecast
:
(
opts
:
WeatherOpts
,
request
:
RequestFn
,
done
:
(
forecast
:
ForecastCols
|
null
)
=>
void
,
)
=>
void
;
fetchReading
:
(
places
:
(
WeatherCoords
|
null
|
undefined
)
[]
,
request
:
RequestFn
,
done
:
(
results
:
ReadingResult
[]
)
=>
void
,
onSend
?:
SendHook
,
)
=>
void
;
parseExtras
:
(
json
:
OpenMeteoResponse
|
null
)
=>
Record
<
string
,
unknown
>
;
parseForecast
:
(
json
:
OpenMeteoResponse
|
null
)
=>
ForecastCols
;
READING_WEIGHT
:
number
;
readingUrl
:
(
places
:
WeatherCoords
[]
)
=>
string
;
requestWeight
:
(
variables
:
number
,
days
:
number
)
=>
number
;
requestZoned
:
(
opts
:
WeatherOpts
,
urlFor
:
(
opts
:
WeatherOpts
)
=>
string
,
request
:
RequestFn
,
onFail
:
DoneFn
,
onJson
:
(
json
:
OpenMeteoResponse
)
=>
void
,
)
=>
void
;
}
Type Declaration
extrasUrl
:
(
opts
:
WeatherOpts
)
=>
string
fetch
:
(
opts
:
WeatherOpts
,
request
:
RequestFn
,
done
:
DoneFn
)
=>
void
fetchForecast
:
(
opts
:
WeatherOpts
,
request
:
RequestFn
,
done
:
(
forecast
:
ForecastCols
|
null
)
=>
void
,
)
=>
void
fetchReading
:
(
places
:
(
WeatherCoords
|
null
|
undefined
)
[]
,
request
:
RequestFn
,
done
:
(
results
:
ReadingResult
[]
)
=>
void
,
onSend
?:
SendHook
,
)
=>
void
parseExtras
:
(
json
:
OpenMeteoResponse
|
null
)
=>
Record
<
string
,
unknown
>
parseForecast
:
(
json
:
OpenMeteoResponse
|
null
)
=>
ForecastCols
READING_WEIGHT
:
number
What one place costs in
fetchReading
, for the ledger to stamp each call with.
readingUrl
:
(
places
:
WeatherCoords
[]
)
=>
string
requestWeight
:
(
variables
:
number
,
days
:
number
)
=>
number
requestZoned
:
(
opts
:
WeatherOpts
,
urlFor
:
(
opts
:
WeatherOpts
)
=>
string
,
request
:
RequestFn
,
onFail
:
DoneFn
,
onJson
:
(
json
:
OpenMeteoResponse
)
=>
void
,
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pebble App Framework: Phone API
Loading...
What one place costs in
fetchReading, for the ledger to stamp each call with.