I would like to use wpdatatables to read JSON data from an API. I see that you have an example of creating a table from a JSON file. Will this work if the json file is accessed through an API URL? I tied to reproduce your example, but I couldn't find the URL that your json file is located on. Can you help here?
If that API returns the JSON format that wpDataTables can read (a one-level array of same-structured objects where each object will be parsed as a row, and each field inside of the object as a cell), you can create tables from a JSON input.
If it doesn't return the format wpDataTables can read, you'll need to prepare a PHP Adapter that will return the data in the correct format, and create tables linked to a Serialized PHP array.
Let me know if that makes sense, and if you have any questions
And, just wanted to point out that we have a Demo Sandbox site, where you can try out the plugin functionalities, on this link
and there is a 15-day money-back guarantee period, So if you purchase the plugin, you can safely fully test it out, and if it doesn't fit your needs you can request and receive a refund in that period. ( same goes for all plugins and add-ons)
I would like to use wpdatatables to read JSON data from an API. I see that you have an example of creating a table from a JSON file. Will this work if the json file is accessed through an API URL? I tied to reproduce your example, but I couldn't find the URL that your json file is located on. Can you help here?
Thanks
Mark
Hi, Mark
Thanks for reaching out to us
If that API returns the JSON format that wpDataTables can read (a one-level array of same-structured objects where each object will be parsed as a row, and each field inside of the object as a cell), you can create tables from a JSON input.
If it doesn't return the format wpDataTables can read, you'll need to prepare a PHP Adapter that will return the data in the correct format, and create tables linked to a Serialized PHP array.
Let me know if that makes sense, and if you have any questions
And, just wanted to point out that we have a Demo Sandbox site, where you can try out the plugin functionalities, on this link
and there is a 15-day money-back guarantee period, So if you purchase the plugin, you can safely fully test it out, and if it doesn't fit your needs you can request and receive a refund in that period. ( same goes for all plugins and add-ons)
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables