public function slReseplanerare2Trip($originId, $destId, array $options = []) {
        $params = [
            'key' => $this->slReseplanerare2key,
            'originId' => $originId,
            'destId' => $destId
        ];
        $params = array_merge($params, $options);

        $url = $this->SlReseplanerare2URL.'/trip.json';

        $request = $this->client->request('GET', $url, [
            'query' => $params
        ]);

        $json = json_decode($request->getBody(), true);
        return $json;
    }
public function slReseplanerare2Trip($originId, $destId, array $options = []) {
        $params = [
            'key' => $this->slReseplanerare2key,
            'originId' => $originId,
            'destId' => $destId
        ];
        $params = array_merge($params, $options);

        $url = $this->SlReseplanerare2URL.'/trip.json';

        $request = $this->client->request('GET', $url, [
            'query' => $params
        ]);

        $json = json_decode($request->getBody(), true);
        return $json;
    }
public function slReseplanerare2Trip ( $ originId , $ destId , array $ options = [ ] ) { $ params = [ 'key' => $ this -> slReseplanerare2key , 'originId' => $ originId , 'destId' => $ destId ] ; $ params = array_merge ( $ params , $ options ) ; $ url = $ this -> SlReseplanerare2URL . '/trip.json' ; $ request = $ this -> client -> request ( 'GET' , $ url , [ 'query' => $ params ] ) ; $ json = json_decode ( $ request -> getBody ( ) , true ) ; return $ json ; }
SL Reseplanerare 2 -> Trip

See https://www.trafiklab.se/api/sl-reseplanerare-2

@link https://www.trafiklab.se/api/sl-reseplanerare-2
@param string $originId SiteID from
@param string $destId SiteID to
@param array $options Any extra options
@return mixed
SL Reseplanerare 2 - > Trip