The API should return a JSON response, and if it's 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 (see this example), you would be able to create a table that's pulling data using that JSON file.
If the JSON returns a different format, you would need to prepare a PHP adapter (for example), which would return one of the formats that wpDataTables can read, and create a table linked to a Serialized PHP Array.
Please feel free to check out this public ticket also:
Hello there,
I would like to ask if there's any feature like getting the data from an external API?
Just wanted to check before purchasing your plugin.
Thank you.
BRegards,
Jon
Hello Jon
Thank you for your interest in our plugin.
The API should return a JSON response, and if it's 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 (see this example), you would be able to create a table that's pulling data using that JSON file.
If the JSON returns a different format, you would need to prepare a PHP adapter (for example), which would return one of the formats that wpDataTables can read, and create a table linked to a Serialized PHP Array.
Please feel free to check out this public ticket also:
https://tmsplugins.ticksy.com/ticket/1901173/
If you have any further questions, please let me know.
Kind Regards,
Aleksandar Vuković
[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