use Siiau\ApiClient\Facades\Siiau;
$carreras = Siiau::carrera()->todasDeAlumno(
codigo: '123456789',
);
use Siiau\ApiClient\SiiauConnector;
public function foo(SiiauConnector $siiau): void
{
$carreras = $siiau->carrera()->todasDeAlumno(
codigo: '123456789',
);
}
Avanzado
use Siiau\ApiClient\Requests\CarrerasAlumnoRequest;
$response = siiau()->send(new CarrerasAlumnoRequest(
codigo: '123456789',
));
use Siiau\ApiClient\Requests\CarrerasAlumnoRequest;
$promise = siiau()->sendAsync(new CarrerasAlumnoRequest(
codigo: '123456789',
));
$promise
->then(static function (Response $response) {
// Handle Response
})
->otherwise(static function (RequestException $exception) {
// Handle Exception
});