LoginSignup
0
0

More than 5 years have passed since last update.

QASHJPYの現在値を確認するpython3スクリプトをつくってみたよ。

Last updated at Posted at 2018-01-10
#!/usr/local/bin/python3
import json
import requests
import urllib.parse
last = requests.get('https://api.quoine.com/products/50').json()['last_traded_price']
ask = requests.get('https://api.quoine.com/products/50').json()['market_ask']
bid = requests.get('https://api.quoine.com/products/50').json()['market_bid']
print("last:", last, "ask:", ask, "bid:", bid)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0