Skip to main content

https://cloudeos.com api sdk

Project description

CloudeosApi

Cloudeos.com için python api kullanımı örnegidir, api dökümanlarından bakarak bu örneği genişletebilirsiniz.

Mevcut istek örnekleri:

  • Get Account Detail
  • Get Current Balance
  • Create Server
  • Get Server Lists
  • Destroy Server
  • Create SSH Key
  • Get SSH Keys
  • Destroy SSH Keys
  • Get Regions
  • Get Packages

Example

Get Account Detail:

from cloudeos import API


cloudeos = API("username", "password")

account_detail = cloudeos.get_accountDetail()

print(account_detail)

Create Server:

from cloudeos import API


cloudeos = API("username", "password")

name	 = "MyServer"
region	 = "ist2"
package  = "1c-1r-25d"
image	 = "ubuntu-16-04-x64"
ssh_keys = "MySSHKey fingerprint degeri" #key olusturulmussa veya istege bagli

create   = cloudeos.create_server(name, region, package, image, ssh_keys=ssh_keys)

print(create)

Diğer örnekleri Examples klasöründe bulabilir ve genişletebilirsiniz.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudeos-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file cloudeos-0.1.1.tar.gz.

File metadata

  • Download URL: cloudeos-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for cloudeos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7885c1c2fca177d53d774592da62684753e4a6659ca714273bba9afc1a9ac1cf
MD5 1254f41f5812f66db6a969bef16d01cc
BLAKE2b-256 a96f77a9e7c27a644cf3539b5eb619d3a57cc47921d76ae4f1da7c501724510c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page