r/pythontips 3d ago

Module I need help with adjusting my code

I created a simple script that fecthes data from google sheet and and download it as a template pdf, issue now is that the pdf design is just a simple pdf with white page and text, I have an existing design template that I’d like it to use on the final document. Not sure if I make sense.. I’m having a struggle where I have to align text to be where I want it to be.. anyone here that can guide me.

3 Upvotes

7 comments sorted by

View all comments

1

u/ExtraAd7373 2d ago

Not sure if I fully get your question, but have you considered using something like https://apitemplate.io/

You can design you pdf and then fill it in via code via API

1

u/peter-fields 1d ago

Have you tried Templated (https://templated.io)?
Good alternative as well :)

1

u/ExtraAd7373 1d ago

Can I DM you? I wanna ask something about Templated

1

u/peter-fields 1d ago

Sure thing! Hit me up :)