python tdp.me api