• Hello, thought I ask here so I can find where to keep researching, been trying for over a week but can’t see to figure out how its done, I’ll keep it brief.

    Our site is for Real Estate, we have previous used a plugins that connects to the MLS and imports all properties into DB but stopped using it due to server over load, we now have new RESO Web API access which lets us call the API with an endpoint, when I try to test endpoint into WP with a plugin, it connects but says “Invalid Format” when trying to retrieve the data, the Bridge API states that all data is send via JSON except the Metadata, the RESO Web API is the new way Real Estate data is being delivered.

    So I’m confused what I need to do here. When I use API Explorer on Bridge Website, I see the output, but do I have to create a file on WP with that schema, a php file, new JSON file and call it to custom WP page Endpoint? Do I need to create a JSON file with their Schema; Description, Inputs, fields etc?

    Just really confused here, I can use Postman to call, but how do I pass that Structure in WP to display with my pages etc..

    Here is a Sample Bridge API Explorer

    Thank You Much..

    • This topic was modified 2 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    You need a WP plugin that interacts with the API. Someone asked for one over at the reso.org site and the reply was “There is no RESO-supported WordPress plug-in for Web API. Contact your developer.”. Meaning something would need to be custom developed. If you don’t already know of a WP developer, they can be found at https://jobs.wordpress.net/ or https://jetpack.pro/

    Thread Starter Roman77

    (@roman77)

    Thanks much, I researched a bit more and seems the issue is simply that the API im trying to connect to, sends data back in an Odata format, so I can connect but WP does not read the format. I might need to use a connector service that would standardize the Odata so WP can read it..

    Moderator bcworkz

    (@bcworkz)

    Odata is alien to me, I try to avoid Microsoft things ?? It looks like it’s still JSON encoded, but a specific data structure is defined? If so, getting data shouldn’t be too difficult unless authorization is required. We could then get data with WP_Http class methods. Run the response through json_decode() to get the data into a usable array format. Then it’s a matter of extracting information out of the array and outputting it in a human readable format.

    Adding or updating information, which requires authorization, is always more complicated with any RESTful API.

    Thread Starter Roman77

    (@roman77)

    Hi, thanks for the info. Yes, its does require Authorization which is making it more difficult, it does output the data in JSON except some specific fields, the issue is the structure of the Data. Never really been into the Data side of things but I researched and there are services I found which are cloud based. They connect different Data structure, kinda like a Bridge since there are so many different Data structures, example would be AWS glue, they would take in the Data and output a format you select, so it would input Odata and output REST API which you then can use that endpoint converted..Seems this is the only way..I’ll post results here once I try it out…Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding new 3rd Party API Format’ is closed to new replies.