Search the web using AI. Returns a response containing Markdown text and cited URLs.
The keywords or query string to search for.
Creates a shortened URL for the given URL.
Defaults to a 30 day expiration if no expiry is provided via the secondsToLive
field.
If secondsToLive
is set to 0, the URL will never expire.
The URL to shorten. It must be a valid URL and should include the protocol (start with http:// or https://).
Optional
secondsToLive: numberSeconds to live for the shortened URL. If set to 0, the URL will never expire. Defaults to 30 days.
Creates shortened URLs for the given URLs.
Defaults to a 30 day expiration if no expiry is provided via the secondsToLive
field.
If secondsToLive
is set to 0, the URL will never expire.
The parameter arrays should be of the same length and in the same order
The URLs to shorten. It must be a valid URL and should include the protocol (start with http:// or https://).
Optional
secondsToLive: numberSeconds to live for each shortened URL. If set to 0, the URL will never expire.
Deletes a shortened URL by its ID.
The ID is the unique identifier at the end of the shortened URL.
The ID of the shortened URL to delete.
Deletes shortened URLs by their IDs.
The ID is the unique identifier at the end of the shortened URL.
The IDs of the shortened URL to delete.
Fetch content from a URL.
The URL to fetch content from.
WebClient provides methods to interact with web-related functionalities.