You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . DarkSky . TimeMachineRequest
Returns the observed (in the past) or forecasted (in the future) hour-by-hour weather and daily weather conditions for a particular date.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo returns the observed (in the past) or forecasted (in the future) hour-by-hour weather and daily weather conditions for a particular date. The documentation for this Dark Sky resource can be found here.
The Language input can be used to specify the desired language. You can find a full list of supported language parameters here.
Here's an example input set:
APIKey: {YOUR API KEY}
Latitude: 37.8267
Longitude: -122.4233
Time: 255657600
Here's an example of the JSON returned by this Choreo:
{ "latitude": 37.8267, "longitude": -122.4233, "timezone": "America/Los_Angeles", "currently": { "time": 1548716460, "summary": "Partly Cloudy", "icon": "partly-cloudy-day", "nearestStormDistance": 122, "nearestStormBearing": 349, "precipIntensity": 0, "precipProbability": 0, "temperature": 64.33, "apparentTemperature": 64.33, "dewPoint": 47.6, "humidity": 0.55, "pressure": 1016.53, "windSpeed": 2.34, "windGust": 4.76, "windBearing": 281, "cloudCover": 0.41, "uvIndex": 2, "visibility": 10, "ozone": 235.2 }, "minutely": { "summary": "Partly cloudy for the hour.", "icon": "partly-cloudy-day", "data": [{ "time": 1548716460, "precipIntensity": 0, "precipProbability": 0 }, { "time": 1548716520, "precipIntensity": 0, "precipProbability": 0 }, { "time": 1548716580, "precipIntensity": 0, "precipProbability": 0 }, { "time": 1548716640, "precipIntensity": 0, "precipProbability": 0 }, { "time": 1548716700, "precipIntensity": 0, "precipProbability": 0 }, { "time": 1548716760, "precipIntensity": 0, "precipProbability": 0 },] }, "hourly": { "summary": "Mostly cloudy throughout the day.", "icon": "partly-cloudy-night", "data": [{ "time": 1548716400, "summary": "Partly Cloudy", "icon": "partly-cloudy-day", "precipIntensity": 0, "precipProbability": 0, "temperature": 64.36, "apparentTemperature": 64.36, "dewPoint": 47.57, "humidity": 0.54, "pressure": 1016.54, "windSpeed": 2.32, "windGust": 4.74, "windBearing": 281, "cloudCover": 0.41, "uvIndex": 2, "visibility": 10, "ozone": 235.19 }, { "time": 1548720000, "summary": "Partly Cloudy", "icon": "partly-cloudy-day", "precipIntensity": 0, "precipProbability": 0, "temperature": 62.58, "apparentTemperature": 62.58, "dewPoint": 49.42, "humidity": 0.62, "pressure": 1016.42, "windSpeed": 3.94, "windGust": 5.82, "windBearing": 281, "cloudCover": 0.41, "uvIndex": 1, "visibility": 10, "ozone": 235.73 }, { "time": 1548723600, "summary": "Partly Cloudy", "icon": "partly-cloudy-day", "precipIntensity": 0.0002, "precipProbability": 0.01, "precipType": "rain", "temperature": 59.96, "apparentTemperature": 59.96, "dewPoint": 51.22, "humidity": 0.73, "pressure": 1016.59, "windSpeed": 2.55, "windGust": 5.04, "windBearing": 272, "cloudCover": 0.45, "uvIndex": 0, "visibility": 10, "ozone": 236.25 }] }, "daily": { "summary": "Rain on Wednesday through Saturday, with high temperatures falling to 53°F on Saturday.", "icon": "rain", "data": [{ "time": 1548662400, "summary": "Partly cloudy throughout the day.", "icon": "partly-cloudy-day", "sunriseTime": 1548688686, "sunsetTime": 1548725375, "moonPhase": 0.78, "precipIntensity": 0.0002, "precipIntensityMax": 0.0024, "precipIntensityMaxTime": 1548741600, "precipProbability": 0.11, "precipType": "rain", "temperatureHigh": 64.36, "temperatureHighTime": 1548716400, "temperatureLow": 53.47, "temperatureLowTime": 1548774000, "apparentTemperatureHigh": 64.36, "apparentTemperatureHighTime": 1548716400, "apparentTemperatureLow": 53.47, "apparentTemperatureLowTime": 1548774000, "dewPoint": 46.2, "humidity": 0.67, "pressure": 1017.33, "windSpeed": 1.5, "windGust": 7.8, "windGustTime": 1548705600, "windBearing": 300, "cloudCover": 0.47, "uvIndex": 3, "uvIndexTime": 1548702000, "visibility": 10, "ozone": 228.75, "temperatureMin": 53.39, "temperatureMinTime": 1548687600, "temperatureMax": 64.36, "temperatureMaxTime": 1548716400, "apparentTemperatureMin": 53.39, "apparentTemperatureMinTime": 1548687600, "apparentTemperatureMax": 64.36, "apparentTemperatureMaxTime": 1548716400 }, { "time": 1548748800, "summary": "Mostly cloudy throughout the day.", "icon": "partly-cloudy-day", "sunriseTime": 1548775041, "sunsetTime": 1548811843, "moonPhase": 0.81, "precipIntensity": 0.0015, "precipIntensityMax": 0.0076, "precipIntensityMaxTime": 1548763200, "precipProbability": 0.32, "precipType": "rain", "temperatureHigh": 58.03, "temperatureHighTime": 1548802800, "temperatureLow": 50.2, "temperatureLowTime": 1548860400, "apparentTemperatureHigh": 58.03, "apparentTemperatureHighTime": 1548802800, "apparentTemperatureLow": 50.2, "apparentTemperatureLowTime": 1548860400, "dewPoint": 50.89, "humidity": 0.87, "pressure": 1016.67, "windSpeed": 3.69, "windGust": 8.55, "windGustTime": 1548756000, "windBearing": 281, "cloudCover": 0.76, "uvIndex": 3, "uvIndexTime": 1548788400, "visibility": 10, "ozone": 238.44, "temperatureMin": 52.27, "temperatureMinTime": 1548831600, "temperatureMax": 58.03, "temperatureMaxTime": 1548802800, "apparentTemperatureMin": 52.27, "apparentTemperatureMinTime": 1548831600, "apparentTemperatureMax": 58.03, "apparentTemperatureMaxTime": 1548802800 }, { "time": 1548835200, "summary": "Rain starting in the evening.", "icon": "rain", "sunriseTime": 1548861395, "sunsetTime": 1548898311, "moonPhase": 0.85, "precipIntensity": 0.0105, "precipIntensityMax": 0.0693, "precipIntensityMaxTime": 1548914400, "precipProbability": 0.78, "precipType": "rain", "temperatureHigh": 57.37, "temperatureHighTime": 1548892800, "temperatureLow": 50.81, "temperatureLowTime": 1548946800, "apparentTemperatureHigh": 57.37, "apparentTemperatureHighTime": 1548892800, "apparentTemperatureLow": 50.81, "apparentTemperatureLowTime": 1548946800, "dewPoint": 49.05, "humidity": 0.86, "pressure": 1013.65, "windSpeed": 3.53, "windGust": 9.88, "windGustTime": 1548903600, "windBearing": 199, "cloudCover": 0.8, "uvIndex": 3, "uvIndexTime": 1548878400, "visibility": 9.72, "ozone": 288.07, "temperatureMin": 50.2, "temperatureMinTime": 1548860400, "temperatureMax": 57.37, "temperatureMaxTime": 1548892800, "apparentTemperatureMin": 50.2, "apparentTemperatureMinTime": 1548860400, "apparentTemperatureMax": 57.37, "apparentTemperatureMaxTime": 1548892800 }] }, "flags": { "sources": ["nearest-precip", "nwspa", "cmc", "gfs", "hrrr", "icon", "isd", "madis", "nam", "sref", "darksky"], "nearest-station": 1.839, "units": "us" }, "offset": -8 }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms