Python package to communicate with Nintendo servers
To import this into your code, run python setup.py install
or place the nintendo
folder somewhere Python can find it.
You might need to adjust your scripts if you pull new commits from this package (it may receive backwards compatibility breaking changes at any time).
https://github.com/Kinnay/NintendoClients/wiki
- Python 3 (tested with 3.6.4)
- Python requests (http://docs.python-requests.org)
- BeautifulSoup4 and lxml
- example_donkeykong.py downloads and prints DKC Tropical Freeze rankings, and downloads the replay file of the world record
- example_mariokart.py downloads and prints Mario Kart 8 rankings, and downloads a replay file
- example_miis.py requests and prints all kinds of information about the primary mii associated with a NNID
- example_friend_list.py requests and prints your friend list, incoming and outgoing friend requests, and blacklist
- example_friend_notifications.py listens for and prints friend notifications (when a friend starts a game for example)
- example_createroom.py shows how to create a friend room in Mario Kart 8. You'll get an error if you try to join it on a real Wii U though, because this package doesn't support P2P connections yet.
- example_mariokartdeluxe.py downloads and prints Mario Kart 8 Deluxe rankings. This script logs in as guest, so you don't need to dump any keys or other information from your Switch.
Some functions of the account server are only available after authentication. Authentication requires your Nintendo Network ID and password and serial number, device id, system version, region and country of your Wii U. To access specific game servers, you also need the game server id and sandbox access key of the server.