The purpose of this repository is to create a set of scripts written in PHP, Perl or Python to retrieve information from the API site of Clash Of Clans For the time being you can only find some sample scripts written in PHP to work on SQlite tables. I have specifically chosen to work with SQLite to be able to use low costs devices line Raspberry Pi that have low power consumption.
- PHP with Curl and SQLite3 support
- Bash
- https://github.com/1n9i9c7om/ClashOfClans-API-PHP
Copy the PHP scripts from ClashOfClans-API-PHP into a folder clashapi. Rename all PHP files with small letters otherwise my PHP scripts will not work when using Linux. Or you can also rename the folder clashapi_copy to clashapi. Now, go to the developers site from Clash Of Clans and generate a Key. Add the Key to api.class.php. You should be able to start using the scripts. I have tried to keep the scripts as simple as possible. SQLite has specifically been chosen to store the data to limit resources and to be able to run these scripts on low power devices like Raspberry Pi or Beagleboard Black.
- 2016-09-06 - Created this small repository
- 2016-09-27 - SQLite orangenl.sqlite contains all Dutch Orange clans