py.typed). The package is getlurk and so is the import.
Send an event
lurk.rules.list(), lurk.units.get(id="beans"), lurk.users.get(id="maya@example.com"). Input is a dict or keywords: lurk.events.send(event="checkin.scanned", user="maya@example.com"). The types of inputs and answers are in getlurk.types, and your editor completes them.
Configure
options=RequestOptions(...):
Errors
LurkError has status, code, param, request_id, doc_url, next_step and, for rate_limited, retry_after_seconds. Be ready for a code you have not seen: Lurk adds codes, fields and event types over time and never removes one inside a version (versioning).
Pages
asyncio
AsyncLurk takes the same arguments and has the same methods, awaited.
Webhooks
Use another HTTP library
Lurk(transport=...) replaces the HTTP call: a proxy, requests, httpx, or a test double. Testing your code has an example.