mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-19 03:42:22 -06:00
10 lines
287 B
Python
10 lines
287 B
Python
class InstanceService:
|
|
def __init__(self, client):
|
|
self.client = client
|
|
|
|
def fetch_instances(self):
|
|
return self.client.get("instance/fetchInstances")
|
|
|
|
def create_instance(self, config):
|
|
return self.client.post("instance/create", data=config.__dict__)
|