Skip to content

sammyngy/steam-activity

Repository files navigation

Steam Activity

Deploy with Vercel

Features

All your recents played games: All the informations about a steam user GET /api/player-summaries

Your recent played Games: A list of your recent played games with stats GET /api/recent-played-games

How to use

Create an account on Steam Dev website to get an API key

Exemple:

image

Deploy the application with Vercel

Open this link Deploy with Vercel

  • Link and create a new git repo
  • Paste the environnements variables (STEAM_ID and STEAM_API_KEY)
  • Click on Deploy
  • Click Continue To Dashboard
  • Copy the DOMAINS url

Exemple : https://example.vercel.app/api/player-summaries

Then enjoy the endpoint's

No Vercel

If you want to run the project locally :

  • Copy .env.example to .env and add values to env variables
  • Run npm install for dependencies installation
  • Run npm start

License

MIT