minesweeper_game/Library/PackageCache/com.unity.services.analytics@f7e249983920/Scripts~/iso4217
2025-03-15 14:30:26 -04:00
..
convertCurrency.py base 2025-03-15 14:30:26 -04:00
iso4217.xml base 2025-03-15 14:30:26 -04:00
README.md base 2025-03-15 14:30:26 -04:00
requirements.txt base 2025-03-15 14:30:26 -04:00

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.