Last active
June 29, 2023 10:54
-
-
Save AlgorithmAlchemy/f148a715344e79581a4090ccc4b66b93 to your computer and use it in GitHub Desktop.
currency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url_change = 'https://openexchangerates.org/api/latest.json?app_id=565db73ce703480cb8d8849e32f32035' | |
r = requests.get(url_change) | |
r = r.json() | |
print(r["rates"]["CNY"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment