Aug-12-2021, 10:26 AM
Hello,
I am asked to create a python API that would allow to interact with a Wordpress site and the WooCommerce plugin.
I can exchange with the database but I don't understand how an "API" should work...
For example, if in some requests there are errors or warnings to return to the user, how should I do? What I have to communicate with to display messages on the website. It is not the database? How does it work?
Thank you for your help !
I am asked to create a python API that would allow to interact with a Wordpress site and the WooCommerce plugin.
I can exchange with the database but I don't understand how an "API" should work...
For example, if in some requests there are errors or warnings to return to the user, how should I do? What I have to communicate with to display messages on the website. It is not the database? How does it work?
Thank you for your help !