diff --git a/netschoolapi/netschoolapi.py b/netschoolapi/netschoolapi.py index 86cf042..2767de0 100644 --- a/netschoolapi/netschoolapi.py +++ b/netschoolapi/netschoolapi.py @@ -306,7 +306,7 @@ async def schools( resp = await self._wrapped_client.request( requests_timeout, self._wrapped_client.client.build_request( - method="GET", url="schools/search", + method="GET", url="schools/search?name=У", ) ) schools = schemas.ShortSchoolSchema().load(resp.json(), many=True) @@ -318,7 +318,7 @@ async def _get_school_id( schools = (await requester( self._wrapped_client.client.build_request( method="GET", - url="schools/search", + url=f"schools/search?name={school_name}", ) )).json()