Skip to content
/ cs2api Public

Rapid and easy API to handle and serve CS2 game skins from database

License

Notifications You must be signed in to change notification settings

jexlor/cs2api

Repository files navigation

Cs2Api PkgGoDev

cs2api

What's Cs2Api?

cs2api repo contains database filled with all the information about skins from cs2 (game). all that is accessible with API which is written with Go + Gin framework. for DB I'm using PostgreSql. Api can work for any type of project which needs db+api to serve info about thousands of skins. (Volume of database will be added to repo as soon as it's ready)

Total skins: 265
Last updated prices & collections: 1.12.24

Structure of skins

{
    "id": 1
    "name": "test_name",
    "rarity": "covert",
    "collection": "bravo",
    "quality": "Factory New",
    "price": "$100",
    "stattrack_price": "$1000",
    "url": "example.com/skin_image_url"
}

Getting started with Cs2api.

git clone https://github.com/jexlor/cs2api.git

First step (copy .env file in repo root)

cp .example.env .env

Run Docker container:

docker compose up --build

Access Api welcome page (on default cs2api endpoint):

cs2api

About

Rapid and easy API to handle and serve CS2 game skins from database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published