This is an NodeJS script that queries the OpenSea API and generates a CSV file that contains active listings for specific collection (Bored Ape Yacht Club).
Install typescript (if it wasn't installed on your machine):
npm install -g typescript
In the project folder, type:
npm install
Create an environment file (.env) and set the variables.
In the project folder, type:
npm run start