App Logo

Official scripts

Explore our curated collection of scripts

docs.google.com

Sheets: export / download

Download a Google Spreadsheet to a local file in your chosen format. Returns path (or url on cloud browsers) and filename. xlsx/ods/pdf/zip export the whole doc; csv/tsv export a single tab (pass gid).

docs.google.com

Google Docs whoami (signed-in account)

Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is signed out, the run fails with a signed-out error that says to sign in to Google Docs and retry.

docs.google.com

Google Docs: suggest edits (find and replace in Suggesting mode)

Edit an existing Google Doc in Suggesting mode: each find/replace pair becomes a tracked suggestion the owner can accept or reject, rather than a direct edit. Returns, per pair, how many matches were found and whether a suggestion was created, plus the Google account that made the suggestions. Matching is literal and case-sensitive by default. Accents count, so "café" does not match "cafe". Use dryRun to count matches without changing anything. Needs comment or edit access to the document.

docs.google.com

Sheets: list tabs

List the tabs of a Google Spreadsheet. Returns sheets (name, gid) and the spreadsheet title. gid feeds sheets_read_tab / sheets_write_cells / the edit?gid= URL.

docs.google.com

Get current Google Docs/Sheets user

Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is not signed in to Google, the run fails with a signed-out error that says to sign in, so it can be used to check a session before running other Docs or Sheets scripts.

docs.google.com

Sheets: add tab

Add a tab to a Google Spreadsheet, optionally naming it in the same pass. Returns the new tab's gid and final name. Waits for the editor's save before resolving; needs edit rights.

docs.google.com

Sheets: rename spreadsheet

Rename a Google Spreadsheet (the document title, not a tab). Returns the title as displayed after the rename. Waits for the rename to persist server-side before resolving; needs edit rights.

docs.google.com

Sheets: delete tab

Delete one tab of a Google Spreadsheet by gid. Returns deletedGid and remainingTabs (names left). The sheet's data goes with it (recover via Undo / Drive history); an unknown gid throws rather than risk deleting the wrong sheet; needs edit rights.

drive.google.com

Download a Google Drive file

Download one Google Drive file by id, or by a Drive or Docs URL, to the machine running the browser. Files stored as bytes (PDFs, images, video, Office documents) download as they are; Google Docs, Sheets and Slides are exported, so pass format to choose pdf, docx, xlsx, csv and the rest. Returns the file's name and type in Drive and where it was saved. For a whole folder, list it first and call this once per file.

docs.google.com

Create a Google Sheets spreadsheet

Create a new Google Spreadsheet in My Drive, optionally with a title. Returns spreadsheetId, url, and firstGid (always 0). The file lands in Drive root (My Drive); moving it elsewhere is a Drive action, not a Sheets one.

admin.google.com

Google Workspace unofficial API: list your invoices by date range

An unofficial Google Workspace API for billing invoices. List Google Workspace billing documents from the Admin Console for one date range (This month … All time) and one format (CSV or PDF). Returns account and invoices (label, format, createdDate, invoiceNumber) — metadata only. Feed a row's label, with the same dateRange and format, to admin.google.com/download_invoice to get the file.

search.google.com

List Google Search Console sitemaps

Lists the sitemaps submitted for a Google Search Console property, with when each was submitted and last read, its fetch status, and how many pages and videos Google discovered in it. Takes the property as listed by search.google.com/list_properties.

scholar.google.com

Get Google Scholar author's papers

Fetch a Google Scholar author's profile (name, affiliation, verified-email domain, interest tags, citation metrics) plus their publication list, sorted by citation count as the profile itself shows. Google Scholar loads 20 papers at a time behind a "Show more" click; pass count to load further pages (capped at what the profile actually has).

scholar.google.com

Google Scholar unofficial API: search authors

Search Google Scholar's author (Profiles) directory by name/keywords. Returns each matching author's id, name, affiliation, verified-email domain, interest tags, and total cited-by count, plus a cursor for the next page.

admin.google.com

Google Workspace unofficial API: download an invoice PDF or CSV

An unofficial Google Workspace API to download billing invoices. Download a single Google Workspace billing document (CSV or PDF) by its line-item label from admin.google.com/list_invoices (pass the same dateRange/format used to list it). Returns the file bytes as base64 plus a filename.

doctolib.fr

Search Doctolib practitioners

Search Doctolib practitioners by specialty and location. Returns total, page, and providers with full_name, specialty, address, sector, payment_means, languages, telehealth, online_booking, matched_visit_motive, and profile_path. There are 20 providers per page and the order is server-ranked; profile_path (including ?pid=practice-N) is the join key for get_practitioner and list_slots.

pay.google.com

Download a Google Payments invoice (Google One, YouTube, Google Play)

Download the invoice PDF of one Google charge, such as a Google One or Google AI plan, YouTube Premium, or a Google Play purchase (pay.google.com > Activity > Transaction details > Download tax invoice). Pass the row's transaction label as returned by pay.google.com/list_transactions (e.g. "12 Mar · 100 GB (Google One)"); the first (newest) matching row wins. Returns Google's filename and the path where the browser saved the PDF (or a url to it on a managed browser), so you can read or move it directly.

medium.com

Search Medium articles

Search Medium for articles by keyword: title, URL, author, publication, tags, claps, read time, and whether the article is locked (member-only). No login required.

news.google.com

Search Google News

Search Google News for articles by keyword and return each result's title, source, publish time, byline and Google News article link, up to count articles. complete says whether these are all the results Google News has for the query. An empty list means the search matched nothing. Supports a recency filter (when, for example 7d) and the country and language edition. Google often refuses these searches from managed browsers, so run it on your own browser.

medium.com

Get Medium article details

Fetch a Medium article's metadata: title, description, author, publication, published date, tags, read time, and whether it's free to read. No login required.

drive.google.com

Search Google Drive

Search Google Drive by free text in names and contents, or filter by name, file type, owner and modified-date range. Returns each match's id, name, type, size, dates, owner, parent folders and link, one page at a time: pass nextPageToken back as pageToken to read the next page. No match returns an empty list.

docs.google.com

Sheets: rename tab

Rename one tab of a Google Spreadsheet by gid. Returns the gid and the name as displayed after the rename. If no tab in the spreadsheet has that gid it stops with a clear error instead of renaming a different tab. Waits for the editor's save before resolving; needs edit rights.

docs.google.com

Sheets: clear range

Clear the values of an A1 range in one tab of a Google Spreadsheet (values only, formatting stays). Returns range and cleared. Clearing an already-empty range is a safe no-op; needs edit rights.

google.com

Maps: Search Businesses

Search for businesses on Google Maps (anonymous, no login): name, category, address, phone, website, rating, reviews, GPS, place_id. Paginates via scrolling, controlled by the count argument.

docs.google.com

Sheets: read tab values

Read one tab of a Google Spreadsheet as a 2D array of display values. Returns values (row-major, '' for empty and non-top-left merged cells), nRows, nCols. Values are display strings after formatting (a date may read as "1.5").