Fix pdf endpoint
Add fetchOnly and dateRange flags

Getting kinda swampy in here.