Fetch statistics from pr0gramm.com API and write to MySQL database