Skip to main content

.. image:: https://badge.fury.io/py/api-cloudvps-py.svg :target: https://badge.fury.io/py/api-cloudvps-py

Project description

https://badge.fury.io/gh/wa-pis%2Fapi-cloudvps-py.svg https://travis-ci.org/wa-pis/api-cloudvps-py.svg?branch=master

INSTALLING

$ pip install api-cloudvps-py
# or use source code package, after extract
$ python setup.py install

How to obtain token

If you want to work with reg.ru cloudvps api client participate

USAGE

# import
>>> from cloudvps import Api
>>> api = Api('3f7c0a3d*****356b45d59f71a')
# or
>>> import cloudvps
>>> api = cloudvps.Api('3f7c0a3d*****356b45d59f71a')
>>> common = api.common
>>> print(common.sizes())
{'sizes': [{'disk': 20, 'id': 5, 'memory': 512, 'name': 'Меркурий', 'slug': 'test_512', 'vcpus': 1, 'weight': 10}, {'disk': 30, 'id': 1, 'memory': 1024, 'name': 'Марс', 'slug': 'test', 'vcpus': 1, 'weight': 20}, {'disk': 40, 'id': 3, 'memory': 2048, 'name': 'Венера', 'slug': 'test_x2', 'vcpus': 2, 'weight': 30}]}

LICENSE

The MIT License (MIT) 2018, Anton Grudin.

Home-page: https://github.com/wa-pis/api-cloudvps-py Author: Anton Grudin Author-email: onepis2word@gmail.com License: MIT Description: UNKNOWN Keywords: api-client api python requests reg.ru Platform: UNKNOWN Classifier: Development Status :: 3 - Alpha Classifier: Intended Audience :: Developers Classifier: Topic :: Software Development Classifier: Topic :: Internet :: WWW/HTTP Classifier: Natural Language :: Russian Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6

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

api-cloudvps-py-0.1.1.linux-x86_64.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

api_cloudvps_py-0.1.1-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file api-cloudvps-py-0.1.1.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for api-cloudvps-py-0.1.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 0e958e3ad0723b272b309291cf69b85343401d28c31cba7a6e74865e32aaa5a2
MD5 c7b2827e8343422989ade43656fd66a6
BLAKE2b-256 14a8d252e12016c9d3ee4498b3f1c65788773093c63e8a0bb6ed600699f34e1e

See more details on using hashes here.

File details

Details for the file api_cloudvps_py-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for api_cloudvps_py-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 965a4fa9e6fa1cc95a7f4c1dd0890397ae9144a354db887a29d46f86774839eb
MD5 2f8e45d07b65d37b955a12cc68b385ea
BLAKE2b-256 5fba2516eefbf32094ae08fc7e172ba74886cb36fe666d41e4576e463322cdea

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