1
0
forked from tdwojak/Python2017
Python2017/labs03/z3.py
2018-01-26 15:12:25 +01:00

12 lines
240 B
Python

import requests
import json
def script():
page='https://api.fixer.io/latest'
r=requests.get(page)
r.status_code
r.encoding
r.text
data_json=r.json()
print(data_json['rates'],data_json['rates'].values())
script()