Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.52 KB

README.md

File metadata and controls

49 lines (41 loc) · 1.52 KB

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