where('name', 'Minerva Arbosa')->first(); $authentication = new \Seat\Eseye\Containers\EsiAuthentication([ 'client_id' => env('ESI_CLIENT_ID'), 'secret' => env('ESI_SECRET_KEY'), 'refresh_token' => $user->refresh_token, ]); $this->esi = new \Seat\Eseye\Eseye($authentication); } public function GetMarketGroups() { $instance = new \Seat\Eseye\Eseye(); $marketGroups = $instance->invoke('get', '/markets/groups/'); } public function GetMasterWalletJournal() { $journals = $this->esi->invoke('get', '/corporations/98287666/wallets/1/journal/'); $journals = json_decode($journal->raw, true); //foreach($journals as $entry) { // DB::table('HoldingCorpFinancesJournal'); //} return $journals; } } ?>