Connecting to EvoML Platform
In this example we will investigate how to connect programmatically to EvoML Platform
Step 1: Connecting into the platform
In order to connect to the platform you will need the following information:
- The
url
of the EvoML Platform deployment. This url is the same as the one using to access the EvoML Platform through your browser. - Your
username
to access the EvoML Platform. - Your
password
to acesss the EvoML Platform.
The code below should be enough to connect programmatically to EvoML Platform.
from typing import Final
import evoml_client as ec
# Pease replace with your deploy-platform URL
API_URL: Final[str] = "https://evoml.ai"
# Please replace with your username
USERNAME: Final[str] = ""
# Please replace with your password
PASSWORD: Final[str] = ""
# Connect to the platform
ec.init(base_url=API_URL, username=USERNAME, password=PASSWORD)
Congratulations! you are now connected to the EvoML Platform!