How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?

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.

Thanks!

1 Answer
1

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

Leave a Comment