• I am currently trying to find a way to post a table with data into any of my pages using Python. I’ve been able to automatically create pages, but I am not sure how to do much else at the moment.

    An example of what I am looking for:
    Someone sends me a csv file, I run my python script with a link to their page and the file, the file’s contents get posted in a table on that page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You should look into the REST API as a means of connecting Python to WP.

    Thread Starter evanpurl

    (@evanpurl)

    Thank you @sterndata for the suggestion, I’ve looked into REST API before but I’m having a hard time understanding exactly how to use it properly, are there any easy to understand examples or tutorials that would be a good place for me to start?

    Thanks again

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The link I gave is for the docs. If you google around, I’m sure you’ll find many examples. (Try searching github, too.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding table to page using Python’ is closed to new replies.