SAKURA Internet API Client Library
Project description
# SAKURA Internet API Client Library for Python
This library gives you an easy interface to control your resources on
[SAKURA Cloud](https://secure.sakura.ad.jp/cloud/).
## Table of Contents
* [Requirements](#requirements)
* [How to use this library in your project](#how-to-use-this-library-in-your-project)
* [Examples](#examples)
* [Copyright and license](#copyright-and-license)
## Requirements
- Python 2.7 or 3.4
## How to use this library in your project
```bash
# Install the package
pip install saklient
# Edit your code
cd YOUR/PROJECT/ROOT
vim YOUR-CODE.py
```
```python
from saklient.cloud.api import API
api = API.authorize(token, secret, zone)
# ZONE: "is1a" (Ishikari 1st zone), "is1b" (Ishikari 2nd zone), "tk1v" (Sandbox)
# "tk1v" is recommended for tests
# ...
```
## Examples
Code examples are available [here](http://sakura-internet.github.io/saklient.doc/).
## Copyright and license
Copyright (C) 2014-2015 SAKURA Internet, Inc.
This library is freely redistributable under [MIT license](http://www.opensource.org/licenses/mit-license.php).
- Special thanks to ABEJA.INC for supporting Python 2
This library gives you an easy interface to control your resources on
[SAKURA Cloud](https://secure.sakura.ad.jp/cloud/).
## Table of Contents
* [Requirements](#requirements)
* [How to use this library in your project](#how-to-use-this-library-in-your-project)
* [Examples](#examples)
* [Copyright and license](#copyright-and-license)
## Requirements
- Python 2.7 or 3.4
## How to use this library in your project
```bash
# Install the package
pip install saklient
# Edit your code
cd YOUR/PROJECT/ROOT
vim YOUR-CODE.py
```
```python
from saklient.cloud.api import API
api = API.authorize(token, secret, zone)
# ZONE: "is1a" (Ishikari 1st zone), "is1b" (Ishikari 2nd zone), "tk1v" (Sandbox)
# "tk1v" is recommended for tests
# ...
```
## Examples
Code examples are available [here](http://sakura-internet.github.io/saklient.doc/).
## Copyright and license
Copyright (C) 2014-2015 SAKURA Internet, Inc.
This library is freely redistributable under [MIT license](http://www.opensource.org/licenses/mit-license.php).
- Special thanks to ABEJA.INC for supporting Python 2
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
saklient-0.0.6.tar.gz
(65.5 kB
view details)
File details
Details for the file saklient-0.0.6.tar.gz
.
File metadata
- Download URL: saklient-0.0.6.tar.gz
- Upload date:
- Size: 65.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506f2af9def306b1d95ac3d68241e1e1a6aeac4fdec303b897e955798f3ad2c3 |
|
MD5 | eae5a8e9932388a9a021742193f15236 |
|
BLAKE2b-256 | b7378547cd3f5abd09161caac36bcb831227bc862841eff8342fe4ff8a2582b5 |