modulepackage
0.0.0-20250219102433-a4f7b0f0b4ac
Repository: https://github.com/jexlor/cs2api.git
Documentation: pkg.go.dev
# README
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 Api has PostgreSql. Api can work for any type of project which needs db + api to serve info about thousands of skins.
Where Cs2Api gets information about skins?
cs2api database is filled with real data from real sites. api uses scraping tool which will be released once it's 100% ready and useful, basically data on that api is the same you see on major sites. scraper automatically updates prices of that data every week (still in development)
Total skins: 603
Last updated prices & collections: 23.1.25
Additional features which you can enable (disabled by default): PgAdmin, DB Migrations, JWT, Rate limiting
Structure of skins
{
"id": 1,
"name": "test_name",
"weapon": "AK-47"
"rarity": "covert",
"collection": "bravo",
"price": "$100-$150",
"stattrack_price": "$500-$750",
"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):
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author