UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

3 lines 1.43 kB
import {b as b$1,d,c,a as a$1}from'./chunk-UZSTQL3N.mjs';import {j,i as i$1}from'./chunk-DOBO2Q4R.mjs';import {a,b,c as c$1}from'./chunk-XEHBQAFR.mjs';var i,r=a(()=>{i={name:"wsdot-weather-stations",baseUrl:"https://wsdot.wa.gov/traffic/api/WeatherStations/WeatherStationsREST.svc"};});var p={};b(p,{weatherStationsGroup:()=>f});var f,h=a(()=>{s();f={name:"weather-stations",cacheStrategy:"FREQUENT",documentation:{summary:"Weather station metadata and location information for WSDOT Road Weather Information System stations statewide.",description:"Station identifiers, names, and location coordinates for weather stations that collect atmospheric and pavement condition data.",useCases:["Discover weather stations by location for weather data queries.","Identify station identifiers and names for weather data lookups.","Support location-based weather station searches."],updateFrequency:"daily"},endpoints:[e]};});var e,y,w,A,g,s=a(()=>{j();r();b$1();d();e={functionName:"fetchWeatherStations",endpoint:"/GetCurrentStationsAsJson",inputSchema:a$1,outputSchema:c.array(),sampleParams:{},endpointDescription:"List weather station metadata for all stations statewide."},{fetch:y,useHook:w}=i$1({api:i,endpoint:e,getCacheStrategy:()=>(h(),c$1(p)).weatherStationsGroup.cacheStrategy}),A=y,g=w;}); export{i as a,r as b,A as c,g as d,s as e,f,h as g};//# sourceMappingURL=chunk-FNQGPRGL.mjs.map //# sourceMappingURL=chunk-FNQGPRGL.mjs.map