代碼地址 : Gist Linkhtml
快速安裝python
Step 1
Centosgit
yum -y install python-setuptools easy easy_install requests
Debian / Ubuntugithub
sudo apt-get install -y python-pip sudo pip install requests
Step 2api
curl https://gist.githubusercontent.com/p0we7/b7e85471679d8b6d3f90/raw/c48b467697a737a6a02718209da057cde2dd8291/xnsCloud_v3.py -o xnsCloud_v3.py
修改配置curl
下載腳本後, 請更改腳本中如下三行爲你的Cloudxns信息url
api_key = "API_KEY" api_secret = "API_SECRET" DOMAIN = "YOUR_DOMAIN"