Skip to content

Instantly share code, notes, and snippets.

View majames's full-sized avatar
👨‍💻

Michael James majames

👨‍💻
View GitHub Profile
# did they create this test data for you? or did you create it yourself?
ROWS_FROM_SHEET = [
{
label: 'Versed Roof',
format: 'string',
value: 'some value',
date: nil,
@majames
majames / get-2023-songs.ts
Last active December 12, 2023 11:48
useful script for getting all of the songs in a spotify playlist that were released in 2022 and 2023
/*
* This script can be executed via bun.sh: https://bun.sh/
*
* bun get-2023-songs.ts
*/
import fs from "fs";
import axios from "axios";
// auth token can be retrieved by visiting the spotify API docs (linked below)