Package: latitude-python-sdk
Everything you need to deploy and manage single-tenant, high-performance bare metal servers.The Latitude.sh API gives you programmatic access to all resources available on the platform. With full control over the entire Latitude.sh platform, you can build integrations, custom dashboards, and manage your servers from your own clients.Please note that the following installation example with pip is illustrative and will not download a package until a publishing token is provided as a github secret. To test out the repo you may clone it locally and runpip install -e ../path/to/local/clone/.SDK Installationpipinstalllatitude-python-sdkAuthenticationTo create an API token, go to the Settings & Billing → API Keys page on the dashboard.The key is shown to your only when it's created. If you lose it, you'll have to roll the key or create a new one.SDK Example Usageimportlatitudefromlatitude.modelsimportoperations,shareds=latitude.Latitude()req=operations.GetRegionRequest(security=operations.GetRegionSecurity(bearer="YOUR_API_KEY_HERE",),path_params=operations.GetRegionPathParams(id="unde",),)res=s.regions.get_region(req)ifres.regionisnotNone:# handle responseSDK Available Operationsapi_keysdelete_api_key- Delete an API Keyget_api_keys- List all API Keyspost_api_key- Create an API Keyupdate_api_key- Regenerate an API Keyapi_versionget_current_version- Get current API versionupdate_current_version- Update current API versionaccountget_user_profile- Retrieve the User Profileget_user_teams- List all User Teamspatch_user_profile- Update the User Profilebandwidthget_traffic_consumption- Retrieve Traffic consumptionget_traffic_quota- Retrieve Traffic Quotabandwidth_packagesget_plans_bandwidth- List all bandwidth packages availableupdate_plans_bandwidth- Buy or remove bandwidth packagesdeploy_configget_server_deploy_config- Retrieve the Server Deploy Configupdate_server_deploy_config- Update the Server Deploy Configip_addressesget_ip- Retrieve an IPget_ips- List IPsipmi_credentialscreate_ipmi_session- Generate IPMI credentialsmembersdestroy_team_member- Remove a Team Memberget_team_members- List all Team Memberspost_team_members- Add a Team Memberoperating_systemsget_plans_operating_system- List all operating systems availableplansget_plan- Retrieve a Planget_plans- List all Planspower_actionscreate_server_action- Run Server Actionprojectscreate_project- Create a Projectdelete_project- Delete a Projectget_project- Retrieve a Projectget_projects- List all Projectsupdate_project- Update a Projectregionsget_region- Retrieve a Regionget_regions- List all Regionsrescue_modeserver_exit_rescue_mode- Exits rescue mode for a Serverserver_start_rescue_mode- Puts a Server in rescue moderolesget_role_id- Retrieve a Roleget_roles- List all Rolesssh_keysdelete_project_ssh_key- Delete a Project SSH Keyget_project_ssh_key- Retrieve a Project SSH Keyget_project_ssh_keys- List all Project SSH Keyspost_project_ssh_key- Create a Project SSH Keyput_project_ssh_key- Update a Project SSH Keyserver_reinstallcreate_server_reinstall- Run Server Reinstallserverscreate_server- Deploy a new serverdestroy_server- Remove a Serverget_server- Retrieve a Serverget_servers- List all Serversupdate_server- Update a Serverteamsget_team- Retrieve the Current Teampatch_current_team- Update a Teampost_team- Create a Teamuser_datadelete_project_user_data- Delete a Project User Dataget_project_user_data- Retrieve a Project User Dataget_project_users_data- List all Project User Datapost_project_user_data- Create a Project User Dataput_project_user_data- Update a Project User Datavpn_sessionsdelete_vpn_session- Delete a VPN Sessionget_vpn_sessions- List all Active VPN Sessionspost_vpn_session- Create a VPN Sessionput_vpn_session- Refresh a VPN Sessionvirtual_network_assignmentsassign_server_virtual_network- Assign a server to a virtual networkdelete_virtual_networks_assignments- Delete a Virtual Network Assignmentget_virtual_networks_assignments- List all servers assigned to virtual networksvirtual_networkscreate_virtual_network- Create a Virtual Networkdestroy_virtual_network- Delete a Virtual Networkget_virtual_network- Retrieve a Virtual Networkget_virtual_networks- List all Virtual Networksupdate_virtual_network- Update a Virtual NetworkSDK Generated bySpeakeasy