dzduole 4be683fb33 中文和声音头像OK 1 ヶ月 前
..
README.md 4be683fb33 中文和声音头像OK 1 ヶ月 前
convertCurrency.py 4be683fb33 中文和声音头像OK 1 ヶ月 前
iso4217.xml 4be683fb33 中文和声音头像OK 1 ヶ月 前
requirements.txt 4be683fb33 中文和声音头像OK 1 ヶ月 前

README.md

Currency Conversion Script

This script is used for converting the ISO currency code data from XML into JSON, to make it easier to work with in our SDK. It also removes some of the unneeded data, so that we keep the size of our SDK to a minimum.

Requirements

  • Python 3

Using the Script

Instructions for macOS (windows neither tested nor supported)

  • Download the latest ISO 4217 XML spec, and move it into the Scripts~/iso4217 folder, and rename it to iso4217.xml
  • Make sure you are in the Scripts~/iso4217 folder in your terminal
  • Run pip3 install -r requirements.txt to install script dependencies
  • Run python3 convertCurrency.py to update the JSON resource file.