Skip to content

Wom services

Services are important to understand when using wom.py.

Each service is related to a particular area of the WOM API, and makes requests to those endpoints.

Available services

Usage

Each of these services are available to you as properties on the Client.

You should not personally be creating instances of these services, but instead use the client to make requests using the services.

client = wom.Client()

await client.start()

# Use the name change service to submit a name change
result = await client.name_changes.submit_name_change("old name", "new name")

# ... Do something with the result here

await client.close()