Getting a JSON api feed into Wordpress - how?
Discussion
Hi All
Im just finishing off a Wordpress site and the customer has decided they want a JSON feed displayed on the site.
It's this https://virtualyard.com/api/
I have spent hours trying to figure it out, Im not a coder, but a friend who is was also a little bit lost although given some hours I suspect he would crack it.
Can anyone assist please? There is a demo api key - https://virtualyard.com/api/
I just have no idea how to get this url to spit out a nice selection of cars.
There is no working WP plugin although can find one, VY tell me its redundant
https://dealers.virtualyard.com.au/api/v2/get.php?...
Im just finishing off a Wordpress site and the customer has decided they want a JSON feed displayed on the site.
It's this https://virtualyard.com/api/
I have spent hours trying to figure it out, Im not a coder, but a friend who is was also a little bit lost although given some hours I suspect he would crack it.
Can anyone assist please? There is a demo api key - https://virtualyard.com/api/
I just have no idea how to get this url to spit out a nice selection of cars.
There is no working WP plugin although can find one, VY tell me its redundant

https://dealers.virtualyard.com.au/api/v2/get.php?...
should be possible if you are handy with some basic JQuery. If you are not code-minded, One option I have used in the past to keep product listings up to date between a shopify store and a WooCommerce version was to use a (paid) plug-in called WP-AllImport. It can pick up the feed - either as a one-off or as a scheduled task. One thing to note though, as the name suggests, it is an import tool so creates either posts or products
I wouldn't do this using jQuery or JavaScript. As a client side language it would mean needing to have some authentication details in code visible to anyone with the knowledge of how to look.
But as already said, there are quite a few plugins already available that can take a feed and use it to import records.
But as already said, there are quite a few plugins already available that can take a feed and use it to import records.
I've built a few Wordpress plugins that can import details from an API and add it to a custom post type, these can then be used by Wordpress to display the details etc.
These are usually custom built depending on requirements but would be happy to have a chat to see if I can adapt one to fit your needs or build one that would be suitable.
These are usually custom built depending on requirements but would be happy to have a chat to see if I can adapt one to fit your needs or build one that would be suitable.
Gassing Station | Business | Top of Page | What's New | My Stuff