src/Service/MoovlyService.php
public function getObject(string $id): MoovlyObject
    {
        try {
            $object = ObjectFactory::createFromAPIResponse(
                $this->client->getObject($id)
            );
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $object;
    }
public function getObject(string $id): MoovlyObject
    {
        try {
            $object = ObjectFactory::createFromAPIResponse(
                $this->client->getObject($id)
            );
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $object;
    }
Fetches an object from the Moovly API.
https://api-docs.services.moovly.com/docs/api/assets#GET-/api2/v1/objects/{id}

@param string $id

@return MoovlyObject

@throws MoovlyException