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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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