https://www.nintendo.com.hk/data/json/switch_software.json
https://www.nintendo.co.jp/data/software/xml/switch.xml
| #!/usr/bin/env python | |
| # Run with no args for usage instructions | |
| # | |
| # Notes: | |
| # - will probably insert duplicate records if you load the same file twice | |
| # - assumes that the number of fields in the header row is the same | |
| # as the number of columns in the rest of the file and in the database | |
| # - assumes the column order is the same in the file and in the database | |
| # |