Voyager Pulling Data From API
Hello, I am building an Admin panel for a web platform and instead of pulling data from Database like how Voyager is working now, I am wondering if there is way that I could set it up to have Voyager pull data from API from where data is stored in a more secured location. I would assume that I will need to build a custom controller where I implement the method to call the API and parse the response to voyager know which attributes to display under which parameter, but I am totally lost in the source code to figure out where and how I should do it. Any help is appreciated!
Hi there,
Yes indeed, you would need to create a custom Voyager controller.
I would recommend going through the documentation here on how to do that:
https://voyager-docs.devdojo.com/customization/overriding-files
Let me know if anything is not clear!
Regards, Bobby