Pulls data from our API and generates a PDF