Skip to content

Instantly share code, notes, and snippets.

View TsarPrince's full-sized avatar

Prince Singh TsarPrince

View GitHub Profile
@Animeshz
Animeshz / contact-extract.py
Last active May 27, 2024 04:33
IIITL Contact Extract (Unofficial WhatsApp Group)
import csv
import difflib
import io
import re
import requests
SHEET_URL = 'https://docs.google.com/spreadsheets/d/1PIVUewR8OE9LHSoEvpH6jEoaDvd3TpH2t3ryZwptxJs/edit#gid=561315341'
BRANCHES = ['CSAI', 'CSB', 'CS', 'IT']
if __name__ == '__main__':
@braden-w
braden-w / description.md
Last active April 14, 2025 04:11
Google Sheets Script for Fetching Data from Supabase

Google Sheets Script for Fetching Data from Supabase

This Google Sheets script fetches data from a Supabase database and writes the selected headers and data to the active sheet. The script first clears the sheet, writes the headers, then fetches the data from the Supabase API, and finally writes the data to the sheet.

Prerequisites

  • Make sure your Supabase Database RLS policy allows reads (you might need to tweak some RLS policies).

How to Use

  1. Create a new Google Sheet or open an existing one.