Function getSatPage

  • Asynchronously fetches the page data for a specific SAT at a given page number.

    Parameters

    • sat: number

      The SAT number to fetch the page data for.

    • Optionalpage: number = 0

      The page number to fetch. Defaults to 0.

    • OptionalbaseUrl: string = _baseUrl

      Optional base URL for the fetch. Defaults to _baseUrl.

    Returns Promise<any>

    • A promise that resolves to an object containing the IDs, a boolean indicating if there are more pages, and the current page number.

    Will throw an error if the fetch operation fails or if the response is not OK.