Support » Plugin: Pods - Custom Content Types and Fields » Get PODS data from external REST API?

  • Resolved pcgardner

    (@pcgardner)


    I am setting up a recommended books site, using a PODS custom post type (books/book). It would be great if users adding a new book could just enter the ISBN, press a submit button, and for the book data to be retrieved from an external REST API service and added automatically to the PODS new book form. There is what looks like a suitable API at https://isbndb.com/.

    I know how to fetch and parse the data using wp_remote_get() in PHP code, but how do I get the data into the form fields? Is there any built-in functionality in PODS to make this easier? Ideally I’d like to avoid JavaScript if possible, as I’m not very fluent in it.

    Any help would be greatly appreciated – thank you.
    Phil Gardner

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.