Find a French department or region
find_locationConvert free-text city, department, or region names into Leboncoin-compatible department numbers and pre-2016 region IDs, accent-insensitive, without contacting Leboncoin.
Instructions
Resolves free text - "Paris", "75", "Rhône", "Bretagne" - to the department numbers and region ids that Leboncoin search filters take. Accent-insensitive. Note that Leboncoin still uses the pre-2016 regions (Aquitaine, Rhône-Alpes, …), not the current thirteen. Purely local, no request to Leboncoin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | A city name, department name, department number or region name. |