.. image:: https://badge.fury.io/py/api-cloudvps-py.svg :target: https://badge.fury.io/py/api-cloudvps-py
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for api-cloudvps-py-0.1.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e958e3ad0723b272b309291cf69b85343401d28c31cba7a6e74865e32aaa5a2 |
|
MD5 | c7b2827e8343422989ade43656fd66a6 |
|
BLAKE2b-256 | 14a8d252e12016c9d3ee4498b3f1c65788773093c63e8a0bb6ed600699f34e1e |
Hashes for api_cloudvps_py-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965a4fa9e6fa1cc95a7f4c1dd0890397ae9144a354db887a29d46f86774839eb |
|
MD5 | 2f8e45d07b65d37b955a12cc68b385ea |
|
BLAKE2b-256 | 5fba2516eefbf32094ae08fc7e172ba74886cb36fe666d41e4576e463322cdea |