How to consume an external API with Filament Tables
Hey guys, i saw the package for consuming an external API with filament tables, but i think this is only about if i want to fetch all models at once, but what if i want to have something like this:
Stations -> Products, and for every station to be able to fetch the products and list them in the show view.
https://filamentphp.com/community/how-to-consume-an-external-api-with-filament-tables
Filament
How to consume an external API with Filament Tables by Leandro Ferr...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
6 Replies
any help would be appreciated
we used sushi on one of our pages
https://gist.github.com/craigvc/5329d54a522d9d1b2d74587468a35ea9
This will give you an idea,
we pass params to the api then get the results as needed
hello, if i want pass skip and limit param to the api do you know how to make pagination works?
@Marcel checkout this article https://salah-elabbar.medium.com/laravel-using-remote-eloquent-model-through-api-75949b17d92a
Medium
Laravel Using Remote Eloquent Model Through API.
The idea is having your Database table in another remote site and using the same model in the remote Laravel as if it were in your local…
thank you for your response. i will try it