I have an app developed using laravel 7. This app gathers data from 3 different 3rd party APIs: api A, B and C. But now i'm stuck.
In the end all this APIs will insert/update data in the same table (inventory) but in the process API A needs a token and the other two are free(no authorization/token needed). For API A i'm storing the token in a table api_a.
Now the question is: should i have 3 different controllers (one for each API) and two models, one for inventory and one for api_a? But that would look ugly for some reason. Or is there a certain pattern that i should look into in order to solve this?
How should i deal with working with multiple 3rd party APIs ?