Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neon_skill_weather/api_data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class WeatherCondition(BaseModel):
dew_point: float = Field(description="dew point temperature")
uvi: float = Field(description="UV index")
clouds: int = Field(description="cloudiness percentage")
visibility: Optional[int] = Field(description="visibility in meters")
visibility: Optional[int] = Field(default=None, description="visibility in meters")
wind_speed: float = Field(description="wind speed in requested unit")
wind_deg: int = Field(description="wind direction in degrees")
weather_id: int = Field(description="weather condition description")
Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
multi-key-dict==2.0.3
requests>=2.13.0
neon-utils~=1.9
#TODO: `network` extra included to patch dependency resolution
neon-utils[network]~=1.9,>=1.14.1a1
ovos-utils~=0.0, >=0.0.28
ovos-workshop~=0.0
pydantic~=2.0
46 changes: 24 additions & 22 deletions skill.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,42 @@
{
"title": "Weather",
"url": "https://github.com/NeonGeckoCom/skill-weather",
"title": "neon-skill-weather",
"icon": "https://rawgithub.com/FortAwesome/Font-Awesome/master/svgs/solid/sun.svg",
"summary": "Get current weather and forecast info.",
"short_description": "Get current weather and forecast info.",
"description": "This skill provides current weather information at different locations and forecasts up to 5 days. Use of this skill requires use of third-party APIs. If you do not have access to Neon API servers, you may access the Alpha Vantage API directly by providing a key in `~/owm.txt`. You can generate an Open Weather Map key [here](https://home.openweathermap.org/users/sign_up)",
"examples": [
"What is the weather in Los Angeles?",
"What is the forecast for Friday?"
],
"desktopFile": false,
"warning": "",
"systemDeps": false,
"credits": [
"Neongecko"
],
"category": "",
"package_name": "neon-skill-weather",
"pip_spec": "neon-skill-weather",
"license": "BSD-3-Clause",
"author": "Neongecko",
"tags": [],
"version": "3.1.1a3",
"url": "https://github.com/NeonGeckoCom/skill-weather",
"skill_id": "skill-weather.neongeckocom=neon_skill_weather:WeatherSkill",
"skillname": "skill-weather",
"authorname": "NeonGeckoCom",
"name": "neon-skill-weather",
"requirements": {
"python": [
"multi-key-dict==2.0.3",
"neon-utils~=1.9",
"requests>=2.13.0",
"neon-utils[network]~=1.9,>=1.14.1a1",
"ovos-utils~=0.0, >=0.0.28",
"ovos-workshop~=0.0",
"pydantic~=2.0",
"requests>=2.13.0"
"pydantic~=2.0"
],
"system": {},
"skill": []
},
"desktopFile": false,
"warning": "",
"systemDeps": false,
"incompatible_skills": [],
"platforms": [
"i386",
Expand All @@ -32,18 +46,6 @@
"arm"
],
"branch": "master",
"license": "BSD-3-Clause",
"icon": "https://rawgithub.com/FortAwesome/Font-Awesome/master/svgs/solid/sun.svg",
"category": "",
"categories": [],
"tags": [],
"credits": [
"Mycroft AI",
"NeonDaniel",
"reginaneon"
],
"skillname": "skill-weather",
"authorname": "NeonGeckoCom",
"foldername": null,
"troubleshooting": "Try asking for a different location or changing your default location by saying `Neon change my location to Seattle`."
"short_description": "Get current weather and forecast info."
}