Skip to main content

No project description provided

Project description

Client API entreprise

Client pour https://api.gouv.fr/les-api/api-entreprise.

Ajout de la dépendance dans un requirements.txt

Par exemple:

api-entreprise>=31,<32

Uilisation de la cli

Une CLI est fournie avec la bibliothèque

Installation

python -m pipx install api-entreprise

Utilisation

api-entreprise --help

Utilisation d'un ratelimiter client

Il est possible d'utiliser un ratelimiter client basé sur https://pypi.org/project/pyrate-limiter/ en version 2.10+ pour éviter de faire des appels à l'API entreprise trop rapidement et de se faire bloquer. Notez tout de même que ce client reste compatible avec les headers de ratelimit (429).

Depuis la version 31, le ratelimiter client est optionnel. Il est possible de l'installer avec l'extras api-entreprise[ratelimiter].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

api_entreprise-31.0.1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

api_entreprise-31.0.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file api_entreprise-31.0.1.tar.gz.

File metadata

  • Download URL: api_entreprise-31.0.1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for api_entreprise-31.0.1.tar.gz
Algorithm Hash digest
SHA256 edd793e1ef7943c9238b0ca41a59579b497f0abb4f2f68cd556fb8ff455e1009
MD5 9594b0097200a379418afacf0d833bde
BLAKE2b-256 06f5509375c60e10e728d7b573829f1d5b8a42b8df44498f7de58f96c8e9e5a7

See more details on using hashes here.

File details

Details for the file api_entreprise-31.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for api_entreprise-31.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 898b57a55f2aca111cadc3996befb06436d51996d87d7079b3c3d53d0392db54
MD5 6fa80ec9a5af76deabb800c76b1360e5
BLAKE2b-256 c7fc3a0a36603196e7202ad8b2f05942d7dfc5ac9ade96096b9cb8ce4868d754

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page