permisapi-client 0.7.1__tar.gz → 0.7.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: permisapi-client
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Client Python officiel pour PermisAPI : permis de construire France en API REST.
5
5
  Project-URL: Homepage, https://permisapi.fr
6
6
  Project-URL: Documentation, https://permisapi.fr/docs
@@ -30,4 +30,4 @@ __all__ = [
30
30
  "PermisAPIValidationError",
31
31
  ]
32
32
 
33
- __version__ = "0.7.1"
33
+ __version__ = "0.7.2"
@@ -13,7 +13,7 @@ from permisapi_client.exceptions import error_from_response
13
13
 
14
14
  DEFAULT_BASE_URL = "https://api.permisapi.fr"
15
15
  DEFAULT_TIMEOUT = 15.0
16
- USER_AGENT = "permisapi-client-python/0.7.1"
16
+ USER_AGENT = "permisapi-client-python/0.7.2"
17
17
 
18
18
 
19
19
  def _raise_for_status(resp: httpx.Response) -> None:
@@ -63,6 +63,13 @@ class _PermitsResource:
63
63
  Champs autorises : date_reelle_autorisation, date_depot,
64
64
  an_depot, superficie_terrain. Prefixe `-` pour descendant.
65
65
  Tout autre champ retourne 422 (et non ignore silencieusement).
66
+
67
+ Filtre `min_score` (Pro+ uniquement) : retourne uniquement les
68
+ permits avec un Score Opportunite MDB >= N (0-100). Use case
69
+ marchand de biens : shortliste les top opportunites en 1 call
70
+ au lieu de fetch + filter cote client. Cout quota special :
71
+ `limit` unites au lieu de 1 (anti-abus, equivalent a N calls
72
+ /score). Header X-RateLimit-Cost confirme.
66
73
  """
67
74
  return self._c._get("/v1/permits", params=params)
68
75
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "permisapi-client"
7
- version = "0.7.1"
7
+ version = "0.7.2"
8
8
  description = "Client Python officiel pour PermisAPI : permis de construire France en API REST."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"