mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-07-13 07:04:49 -06:00
9 lines
286 B
Python
9 lines
286 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__) |