F
Filament11mo ago
Jocka

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
Jocka
JockaOP11mo ago
any help would be appreciated
Bleak (aka nostrodamned)
we used sushi on one of our pages https://gist.github.com/craigvc/5329d54a522d9d1b2d74587468a35ea9 This will give you an idea,
Gist
Flight.php
GitHub Gist: instantly share code, notes, and snippets.
Bleak (aka nostrodamned)
we pass params to the api then get the results as needed
Marcel
Marcel9mo ago
hello, if i want pass skip and limit param to the api do you know how to make pagination works?
Bleak (aka nostrodamned)
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…
Marcel
Marcel9mo ago
thank you for your response. i will try it

Did you find this page helpful?