This is a MagicMirror Module which shows you the Name, the actual Trophies and the Clan of an Player
- You need an active Clash of Clans Developer Account. You can register yourself one at https://developer.clashofclans.com/#/register
- You need an Token from your Account, which you can generate at https://developer.clashofclans.com/#/account
- You have to go to the
modules
folder
cd ~/MagicMirror/modules
- Clone this module into that folder:
git clone https://github.com/AdmiralMurtho/MMM-ClashofClans-Player.git
- Configure this module in your MagicMirror config file
sudo nano ~/MagicMirror/config/config.js
{
module: "MMM-ClashofClans-Player",
position: "bottom_right",
config: {
updateInterval: 60*60*1000,
playerTag: '', //Without the Hashtag (#)
playerToken: '' //The token, which you get from the developer Site
}
},