PeerIndex API lib in PHP