better API pdf