Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.04 KB

TMX Unbeaten ATs

Updater for Season 3(and hopefully future ones) of Unbeaten ATs mappack in Trackmania Exchange

Prerequisites

  • git
  • A typescript runtime of your preference (instructions will be for bun)

Installation

  • Clone the project
git clone [email protected]:forsureitsme/tmx-unbeaten-ats.git
  • Go to the project directory and install dependencies
cd tmx-unbeaten-ats
bun i
  • Adjust environment variables

Create an .env file at the root and add the SEASON_X_ID and SEASON_X_SECRET (where X is the season number) environment variables to it:

# ID of the mappack (Can be found on mappack page)
SEASON_3_ID=

Mappack ID location

# Mappack secret API Key (Can be found on `Edit Mappack Info` page)
SEASON_3_SECRET=

Secret API Key location

Usage

After setting up, run the following command

bun run index.ts