Hello Everyone,
Basically I am fluent in python and had designed a RESTful api, but I am very bad with the front-end so I think wix would greatly help me on this, and I was wondering, if there is an alternative where I read in data, and using wix to generate a customised pdf file.
I can do the back-end generator with python if possible, but how would I integrate python with wix let’s say on a specific page? or is there a plug-in to fetch data from my Restful api and then use the data that was fetched to put in into a pdf format file/document?
Have you taken a look at this : wix-fetch - Velo API Reference - Wix.com ? If I understand you correctly, you want to generate a PDF from Wix. This is not natively possible, but there are tons of PDF REST API´s out there. Have a look here: https://konghq.com/blog/list-of-50-api-for-pdf-generation-manipulation-conversion/
If I understand you correctly, what you are suggesting me is that I fetch data from wix then use the pdf rest api generator to convert it to pdf? am I correct
Uh, no, I suggested that you use wix-fetch to access your REST Api you built in Python (so you pull the data inside Wix) and then use wix-fetch again to create a PDF with another REST Api.
The only thing I do not see is what advantage Wix brings here, since you could also have accessed the PDF REST Api from your Python app. Maybe you have built some HTML5-forms in Wix that you would like to use?
I would like the ease of the html and CSS of wix instead of building it from ground up like what I am doing it now. Ok! I got it now, thanks alot, will try that method!
Did you try ZetPDF.com?
Worked excellent for me.
Best regards
Addison Ervis
Addision Ervis, Would you mind to explain further on how you use zetpdf?
Michael Leow, hi were you able to make it work? I have similar issue please let me know thanks! - Mike
Wix does not support Python. Wix Code is based on Javascript . For more information, see the Wix Code documentation .
You also see the MyApi example to see how to use Wix to expose an API and how to access it.
If you are interested on thrid pary API
pdf-generator works great
it works…
how to send json data to the third party api?
Hello everyone
The APIs named in the old posts are now all paid (no free account available).
I am testing the FREE API from pdflayer.com directly from the web option found on the Dashboard page.
The API with my key works perfectly if I point to wikipedia, google or any other website.
But it fails if I point to MY websites, hosted on Wix, with 404 error.
Will it be latency or some blockage from WIX?
Has anyone successfully tested the pdflayer API with wix sites?
Regards
Juan Pablo
I managed to create and download a PDF on a button click using the npm package pdf-lib in combination with the WIX Velo MediaManager API. It is free to use.
I hope my tutorial helps