Skip to content

Python

Until it is, the API reference shows every route in Python, and these pages cover what a client needs:

  • Install and authenticate: a machine key and your tenant’s Access service token, sent as headers. See Authentication.
  • A first call: see The LightHouse API.
  • Paging: see Pagination.
  • Errors and retries: branch on error, retry only 429, 502 and 503, and honour Retry-After. See Errors and Rate limits.