Skip to main content

fetch_google_doc_from_docs_api

Function fetch_google_doc_from_docs_api 

Source
pub async fn fetch_google_doc_from_docs_api(
    url: &str,
    api_token: &str,
) -> Result<GDocsRenderedResult>
Expand description

Fetch and render a Google Docs document via the authenticated REST API.

ยงErrors

Returns an error when the URL is invalid, no token is provided, or the API request fails.