Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    If you want to build a Node.js app that pulls data from a WordPress site, you can use 2 different solutions to make your WordPress site’s data available via an API.

    1. The first solution is the WP REST API plugin. The plugin enables multiple API endpoints allowing you to grab information about posts, pages, users, and more. It’s also a framework you can expand upon, to build your own endpoints to return the data you need. You can find the documentation here.
    2. An alternative would be WordPress.com REST API. It includes a number of endpoints, listed in the documentation here. To use that API, you’ll need to install the Jetpack plugin, and then go to Jetpack > Settings and activate the JSON API module on the site you want to pull posts from.

    I hope this clarifies things a bit. If you have questions about one of those APIs, I’d recommend checking the documentation, as well as the different examples currently live . Here is one.

Viewing 1 replies (of 1 total)
  • The topic ‘How to enable nodejs module?’ is closed to new replies.