Skip to content

Main content

Weather Source Code

Browse the implementation files for Weather.
tool.ts typescript
import Weather from './Weather.svelte';

export const Tool: TypeTool = {
	name: 'Weather',
	slug: 'weather',
	intro:
		'Check current, hourly, seven-day, and extended weather forecasts with temperature, precipitation, wind, UV, visibility, snow, soil, and thunderstorm details.',
	tool: () => '',
	i: [],
	o: [
		{
			label: 'Weather forecast',
			placeholder: 'Weather forecast',
			render: 'custom',
			renderas: Weather,
			type: 'text'
		}
	],
	alternative: [
		{
			title: 'Air Quality Forecast',
			url: 'https://open-meteo.com/en/docs/air-quality-api'
		},
		{
			title: 'Flood Outlook',
			url: 'https://open-meteo.com/en/docs/flood-api'
		},
		{
			title: 'Historical Weather',
			url: 'https://open-meteo.com/en/docs/historical-weather-api'
		},
		{
			title: 'Marine Weather',
			url: 'https://open-meteo.com/en/docs/marine-weather-api'
		}
	],
	cite: [
		{
			title: 'Open-Meteo Weather Forecast API',
			url: 'https://open-meteo.com/en/docs'
		},
		{
			title: 'Open-Meteo Seasonal Forecast API',
			url: 'https://open-meteo.com/en/docs/seasonal-forecast-api'
		},
		{
			title: 'Open-Meteo Geocoding API',
			url: 'https://open-meteo.com/en/docs/geocoding-api'
		},
		{
			title: 'Open-Meteo data license',
			url: 'https://open-meteo.com/en/licence'
		},
		{
			title: 'BigDataCloud client-side reverse geocoding',
			url: 'https://www.bigdatacloud.com/free-api/free-reverse-geocode-to-city-api'
		},
		{
			title: 'WMO weather interpretation codes',
			url: 'https://open-meteo.com/en/docs#weathervariables'
		},
		{
			title: 'Material Symbols',
			url: 'https://developers.google.com/fonts/docs/material_symbols'
		}
	]
};

export default Tool;

Description

Browse the implementation files for Weather.

References

  1. Tool.io on GitHub
  2. Tool.io TypeScript tools library

Similar or alternative tools