A client has an external API that is storing all member info.

My tasks are:

a.) Create a 'Member Profile Search' page on his site, where users can search for members using certain keywords.

b.) When the submit button on the search page is clicked, perform a "get" call to the external API, that will return JSON objects, and then display the results in a page on the site - possibly, the same page as the search page

My questions:

1.) Is there a plugin that I can use to achieve this?

2.) If there's no solution using an available plugin, how can I accomplish this?

I'm a web developer and have customized a few WP sites, but nothing requiring this level of expertise, so your help would be greatly appreciated.


  • A couple resources that might help: wp_safe_remote_get() to get the API data, and json_decode() to decode the JSON data once you've got it.
    – Pat J
    Commented Apr 17, 2018 at 18:46
  • @PatJ Thanks for your prompt response. How can I use these resources to accomplish my goals?
    – codePoet
    Commented Apr 17, 2018 at 22:19
  • Do you need to authenticate against this API as well? I find it strange you can blindly search member data...There are numerous ways to achieve this (including what's posted above), what have you tried?... for starters look at jQuery' s $.get method to obtain the data
    – Ray
    Commented Apr 18, 2018 at 21:29
  • @Ray Yes! You would need to authenticate against this API. So far, I have been searching for plugins that can help me achieve this. Being that I haven't done anything like this, I'm clueless as to where to begin. Can you expatiate on the numerous ways to accomplish these tasks?
    – codePoet
    Commented Apr 18, 2018 at 23:27
  • So, I've come to the conclusion that I'll have to create a plugin, and possibly a new page template. Can I use one plugin for the search, the "get" call, and also display the results on a page? I apologize if my questions are annoying, I'm in uncharted waters. Thanks for your help!
    – codePoet
    Commented Apr 19, 2018 at 4:28

1 Answer 1


Ended up developing a plugin using AJAX to make the calls to the API

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.