mardi 6 février 2018

Creating an API Wrapper in Laravel

I want to create an API wrapper in Laravel but I don't know the best way to do this. Do I create a service provider?

I need to be able to do something like this:

$linnworks = new Linnworks(
  'applicationAPI_IdGoesHere',
  'applicationAPI_SecretGoesHere',
  'applicationAPI_TokenGoesHere'
);

$linnworks->getOpenOrders();

Can anybody give some advice?

I tried to create a service provider but I got errors when trying to create the constructor



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire