feat(yandexweather): add yandexweather api
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import datetime
|
||||
|
||||
from ..api import Api
|
||||
from ..source import ApiSource
|
||||
from .model import Location, WeatherResponse
|
||||
|
||||
|
||||
class WeatherApi(Api):
|
||||
class WeatherApi[S = ApiSource](Api[S]):
|
||||
TYPE = "weather"
|
||||
|
||||
async def find_locations(self, query: str) -> list[Location]:
|
||||
|
||||
Reference in New Issue
Block a user