Sakura Secure Mobile Connect API tool
Project description
Python tool for SAKURA Secure Mobile Connect
What is this
このツールは、 さくらのクラウド のAPIを利用して、 セキュアモバイルコネクト のSIMを管理するためのPythonツールです。
SIMの登録、有効化、無効化、登録解除などができます。
How To use
Install
$ pip install ssmc
Usage
import ssmc
api = ssmc.APIClient(token=_token_, secret=_secret_, zone="is1b")
# List MGWs
mgws, _ = api.list_mgws()
print(mgws)
開発者向けメモ
テストについて
さくらのクラウドのテスト用のゾーン(tk1v) がセキュアモバイルコネクトに対応していないようなので、 ひとまず、プライベートリポジトリで実際のICCIDなどを使ってテストしています。
ドキュメント
$ pip install -r requirements-dev.txt
$ cd docs
$ make html
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
ssmc-1.3.0.tar.gz
(16.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ssmc-1.3.0-py2.py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file ssmc-1.3.0.tar.gz.
File metadata
- Download URL: ssmc-1.3.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b23e4e9da6aa24caf03a5116cfe6b65e84171a50ac778d81781506028d902fe2
|
|
| MD5 |
eec224887e8b9324240a4d5473c582e4
|
|
| BLAKE2b-256 |
d3a086485cd8fc4b96d8d090d9fbf592d8c3633af20c5a88e89aaf0915483ccd
|
File details
Details for the file ssmc-1.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: ssmc-1.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
732aaf188e7b6f2c1767de29e1350c069399b69173ed3856f455eeb7970a3565
|
|
| MD5 |
985716a256f9930228cbbb8eab36848a
|
|
| BLAKE2b-256 |
c190cf2e3884aebc795d1aa061efaca6835b1b55fb1757b7c2bf897795f65258
|