Skip to main content

AceRDP API client (Python)

Order and manage AceRDP Windows RDP and Linux VPS servers from your own code. Every method is one operation of the API reference; it returns the answer's data and throws AceRdpError (with code, status and the request id) when the API refuses.

Create the key in the panel under Settings > API. Pass idempotency_key with anything that charges your balance, so a retry never charges twice.

A read, or a change sent with idempotency_key, is tried again after 429 or a server error (twice by default, waiting what Retry-After says). wait_until_ready(server_id) waits until a new or reinstalled server is ready.

import os
from acerdp import AceRdp

api = AceRdp(os.environ["ACERDP_API_KEY"])
servers = api.list_servers()
api.send_a_power_action(server=servers[0]["id"], action="restart")

Methods

  • add_an_ssh_key: Add an SSH key
  • add_extra_ip_addresses: Add extra IP addresses
  • add_heavy_use: Add Heavy use
  • add_ram: Add RAM
  • add_storage: Add storage
  • configure_brute_force_protection: Configure brute-force protection
  • create_a_server: Create a server
  • create_a_webhook: Create a webhook
  • delete_a_webhook: Delete a webhook
  • delete_an_expired_server: Delete an expired server
  • disable_ip_restrictions: Disable IP restrictions
  • extend_a_server: Extend a server
  • fix_everything: Fix everything
  • get_a_plan: Get a plan
  • get_a_server: Get a server
  • get_a_servers_alerts: Get a server's alerts
  • get_a_ticket: Get a ticket
  • get_a_top_up: Get a top-up
  • get_an_order: Get an order
  • get_brute_force_protection: Get brute-force protection
  • get_diagnostics_state: Get diagnostics state
  • get_ip_restrictions: Get IP restrictions
  • get_location_options: Get location options
  • get_power_status: Get power status
  • get_provisioning_status: Get provisioning status
  • get_recovery_status: Get recovery status
  • get_server_credentials: Get server credentials
  • get_transaction_details: Get transaction details
  • get_usage_history: Get usage history
  • get_user_balance: Get user balance
  • get_user_profile: Get user profile
  • list_add_ons: List add-ons
  • list_all_transactions: List all transactions
  • list_deliveries: List deliveries
  • list_events: List events
  • list_extra_ip_addresses: List extra IP addresses
  • list_invoices: List invoices
  • list_locations: List locations
  • list_notifications: List notifications
  • list_operating_systems: List operating systems
  • list_plans: List plans
  • list_servers: List servers
  • list_ssh_keys: List SSH keys
  • list_tickets: List tickets
  • list_upgrade_options: List upgrade options
  • list_webhooks: List webhooks
  • mark_notifications_as_read: Mark notifications as read
  • move_a_server: Move a server
  • quote_a_new_server: Quote a new server
  • quote_a_renewal: Quote a renewal
  • reinstall_a_server: Reinstall a server
  • remove_an_extra_ip_address: Remove an extra IP address
  • remove_an_ssh_key: Remove an SSH key
  • remove_heavy_use: Remove Heavy use
  • renew_servers: Renew servers
  • replace_ip_restrictions: Replace IP restrictions
  • resend_a_delivery: Resend a delivery
  • reset_the_password: Reset the password
  • run_a_repair: Run a repair
  • run_diagnostics: Run diagnostics
  • send_a_power_action: Send a power action
  • send_a_test_event: Send a test event
  • servers_due_for_renewal: Servers due for renewal
  • start_the_recovery_hour: Start the recovery hour
  • top_up_your_balance: Top up your balance
  • unblock_an_address: Unblock an address
  • update_a_server: Update a server
  • upgrade_a_server: Upgrade a server

Metadata

Release files for acerdp 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acerdp 1.1.0
File Size Uploaded Provenance Actions
acerdp-1.1.0.tar.gz 10.4 kB Without provenance Details for acerdp-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acerdp 1.1.0
File Interpreter ABI Platform Actions
acerdp-1.1.0-py3-none-any.whl Python 3 none any Details for acerdp-1.1.0-py3-none-any.whl

Total release size: 20.1 kB

Release files / acerdp-1.1.0.tar.gz

Download URL acerdp-1.1.0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9d177bdad244d8f55cb8f1ae86e59564973e51646fc4c5136d4274fed7f63f3e
BLAKE2b-256 checksum
How to use checksums
52f2216a7dbf7765d725987d1f705565a684dbeb0ec09d4187f3d887b90807cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / acerdp-1.1.0-py3-none-any.whl

Download URL acerdp-1.1.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03e8db709567d5abde688e561ded7427325a0614f82c33c89f19479b1c641a09
BLAKE2b-256 checksum
How to use checksums
c70e23c78c7d78cfa6e4fbf332298cfefb7eac94654590336120fda6f45eee39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for acerdp 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page