Use the REST API at /wp-json
, there are endpoints for retrieving posts that you can POST
to.
You will need a plugin installed to provide authentication, I recommend OAuth2.
Then, you can use an OAuth2 and a REST API library in python. You do not need to use a WordPress specific library.
Related Posts:
- Get all tags not just first 10 with wp api 2.0
- WordPress API standard compliance and specification for external database [closed]
- Cannot edit post meta fields with rest API
- What is the proper way to validate and sanitize JSON response from REST API?
- Data storage for JS app using WP REST API
- Building a REST API for your web app exposes primary keys of DB records?
- Transferring/Uploading Data from DB to WordPress
- How to access a table in a wordpress database using REST API?
- How to rerieve comments and their replies from DB
- Options of accessing wordpress data from mobile app
- Update post / page using API + python
- Is it fine to have foreign key as primary key?
- Detecting errors generated by $wpdb->get_results()
- wpdb update add current timestamp not working
- Restoring WordPress posts from database only
- Displaying content from one WP site on separate WP site
- Lost the `wp_options` table: what’s the best way to restore the site?
- Retrieving pages with multiple tags using REST API
- Performance Gains of Relational DB Setup
- How to move existing WordPress wp-content folder along with database to new server and new domain name?
- store simple data in get_option()
- How might I retrieve a featured post image from an external WP site and display it as a link back?
- What are conventions about the schema of the $table_prefix
- Custom route for WP-API gives “rest_no_route” value
- BuddyPress: What’s the use of wp_bp_xprofile_data table and how does it get updated? [closed]
- storing database in version control
- “rest_no_route” – Debug error
- Is deleting orphaned wp_options entries safe?
- How to build a movie database with wordpress?
- What’s the most efficient database method to add and query usermeta?
- How to solve slow WordPress site caused by attachment_metadata
- Sub-domain or 2nd, temporary different domain?
- How do i get user data from a custom table in the wordpress database by user ID?
- Converting WordPress into Android or iPhone app
- Large database causes slow load
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- Database slowdown after update to 3.4.1
- WooCommerce sku location in DB
- How to insert data into MySQL database from the form created in WordPress site
- Emoji support and MariaDB 10.0.30-
- Can I have multiple database users within WordPress?
- How do I copy a wordpress database?
- Export all content from wordpress
- Develop REST API using WordPress for Android app [closed]
- Import live site to local setup without access to live site
- Modify Database in Multi-Site wp_usermeta table
- Form Data not getting stored in WordPress database
- Hook directly into query execution
- $wpdb doesn’t like to store arrays
- Connect to a remote database for wordpress in my own hosting server
- How to access data in wordpress database externally using php
- WordPress ‘repairing database’ in a constant error loop?
- What Is the Proper Way to Merge Usermeta Table to a an existing WP Database?
- Importing CSV into database table not working?
- “Database Connection Error” upon install in Apache VirtualHost document root.. Why did this happen? [closed]
- Check if an option exists and get its value in one hit
- Change options table prefix only
- What’s the proper way to sanitize checkbox value sent to the database
- Problems with moving my WordPress site to another domain/server
- Is it important to have integers inserted using %d rather than %s?
- Export a custom Mysql database product catalog to WordPress
- Any risk to changing WP table col CHARACTER_MAXIMUM_LENGTH?
- REST API and filtering by meta value
- Pages from custom table
- Trouble running $wpdb->query() with last_insert_id
- Using $wpdb | checking entered email against existing emails in db
- Is there a way I can fetch the WordPress Developer Code References with an API?
- wp-cli: Error establishing a database connection: undefined constant DB_USER
- Can I customised default WP table
- Woocommerce – Check product stock availability from external database
- Get results from wordpress data custom table
- Outputting query results
- Help With a Large WordPress Based MySQL Database on Shared Hosting
- How to display data from db in select list [closed]
- Will adding & modifying default WordPress table index break future WordPress update
- Database migration issues – Error #1046 No database selected
- echo site_url() returns a different value than what is in the database siteurl field
- Search Character Set Problem
- Native timestamp on wp_options option
- SELECT rows between two datetimes when the range is dynamic [closed]
- How to get the full stack trace for WordPress “table doesn’t exist” error in debug.log?
- How to query a nested field in wordpress api using _fields param
- How to fix Uploaded to this post option to see group of images uploaded to a post?
- error establishing a database connection 3
- Rest WP_Error always return null
- Missing latest posts and options after DB migration via phpMyAdmin
- Surrogate ID for posts, is there an alternative field in the posts table?
- get_the_terms is not working
- Local host to server import problem
- Restoring .sql backup results in “Error establishing a database connection”
- Link to handle $_GET request
- WordPress sync with phpbb
- “MySQL server has gone away” since update to 3.8
- Getting deleted users in database
- multi-language multi-site with REST API
- Getting data from a table using a query
- Database interaction (private-public) [closed]
- wp_usermeta key problem
- Database Queries are crashing the server
- Uploading to WordPress Database