@@ -61,8 +61,12 @@ def list(
6161 extra_body : Body | None = None ,
6262 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
6363 ) -> GeolocationListResponse :
64- """
65- Retrieves a list of geolocations.
64+ """Retrieves a list of geolocations.
65+
66+ Geolocation names can be localized by sending
67+ an `Accept-Language` HTTP header with a BCP 47 language tag (e.g.,
68+ `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g.,
69+ `pt-PT,pt;q=0.9,en;q=0.8`).
6670
6771 Args:
6872 format: Format in which results will be returned.
@@ -120,10 +124,13 @@ def get(
120124 ) -> GeolocationGetResponse :
121125 """Retrieves the requested Geolocation information.
122126
123- Args:
124- geo_id: Geolocation ID.
127+ Geolocation names can be
128+ localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag
129+ (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported
130+ (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).
125131
126- Refer to
132+ Args:
133+ geo_id: Geolocation ID. Refer to
127134 [GeoNames](https://download.geonames.org/export/dump/readme.txt)
128135
129136 format: Format in which results will be returned.
@@ -187,8 +194,12 @@ async def list(
187194 extra_body : Body | None = None ,
188195 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
189196 ) -> GeolocationListResponse :
190- """
191- Retrieves a list of geolocations.
197+ """Retrieves a list of geolocations.
198+
199+ Geolocation names can be localized by sending
200+ an `Accept-Language` HTTP header with a BCP 47 language tag (e.g.,
201+ `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g.,
202+ `pt-PT,pt;q=0.9,en;q=0.8`).
192203
193204 Args:
194205 format: Format in which results will be returned.
@@ -246,10 +257,13 @@ async def get(
246257 ) -> GeolocationGetResponse :
247258 """Retrieves the requested Geolocation information.
248259
249- Args:
250- geo_id: Geolocation ID.
260+ Geolocation names can be
261+ localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag
262+ (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported
263+ (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).
251264
252- Refer to
265+ Args:
266+ geo_id: Geolocation ID. Refer to
253267 [GeoNames](https://download.geonames.org/export/dump/readme.txt)
254268
255269 format: Format in which results will be returned.
0 commit comments