Fetches all campaigns and URL clicks for a specific Mailchimp list and writes the data to a JSON file.
Copy example.env to .env and fill out the variables with your API + server, which you can find in your Mailchimp account. Only tested with Node.js 18.2.0
Clone the repo, run npm install
in the root directory, run node index.mjs
, follow instructions in terminal.