Site icon Hip-Hop Website Design and Development

Would it be advisable for me to store outside API information in my WP data set or keep it as a transient?

I am in a circumstance where I need to utilize information from an API (XML) served by an outsider in my WordPress site. The information will be refreshed on that outsider application.

Specifically this is information about properties that is put away on said outsider web application. The information is made accessible in XML design. I might want to permit showing of this information in a WP site, just as looking, and possible entrance to said application for booking.

At the second I have three choices, and I might want to know whether one is liked over the others.

Option 1:

Store a xml with all information as utilizing transient API in WordPress and access the information utilizing Ajax in a post template

Option 2:

Store a xml with all information as utilizing transient API in WordPress and access the information utilizing php in a post template

Option 3:

Importing the information into the WP data set as custom posts and related metadata?

The information is just accessible as a XML design (which is the reason I notice it).

My explicit concerns are that not having the information put away in WP data set may prompt failure to look/sort information utilizing WP functions.

I am simply starting improvement of a module now, and the choice regarding how to use the information will direct the heading of development.