PHP API for ThePirateBay