Git Product home page Git Product logo

hojlund123 / csgo-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bymykel/csgo-api

0.0 0.0 0.0 508.53 MB

An unofficial JSON API for Counter-Strike 2 and Counter-Strike: Global Offensive in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Home Page: https://bymykel.github.io/CSGO-API/

License: MIT License

JavaScript 50.63% CSS 0.64% HTML 48.73%

csgo-api's Introduction

Introduction

An unofficial JSON API for Counter-Strike: Global Offensive.

All data are retrieved from items_game.txt and csgo_english.txt. These files use Valve's KeyValue text file format and have to be parsed with vdf-parser.

Usage

By default the data is in english, if you want to get the data in another language, you can add the language to the BASE URL.

GET https://bymykel.github.io/CSGO-API/api/{language}

Language

Can be one of the following: bg cs da de el en es-ES es-MX fi fr hu it ja ko nl no pl pt-BR pt-PT ro ru sk sv th tr uk zh-CN zh-TW vi

All items

GET https://bymykel.github.io/CSGO-API/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://bymykel.github.io/CSGO-API/api/en/skins.json
array[object]
id string
name string
name_original string
description string
weapon string
pattern string
min_float number
max_float number
rarity string
stattrak boolean
image string

List stickers

GET https://bymykel.github.io/CSGO-API/api/en/stickers.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List collections

GET https://bymykel.github.io/CSGO-API/api/en/collections.json
array[object]
id string
name string
name_original string
image string

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://bymykel.github.io/CSGO-API/api/en/crates.json
array[object]
id string
name string
name_original string
description string or null
type string
first_sale_date string
image string

List keys

GET https://bymykel.github.io/CSGO-API/api/en/keys.json
array[object]
id string
name string
name_original string
description string or null
image string

List collectibles

GET https://bymykel.github.io/CSGO-API/api/en/collectibles.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
type string or null
image string

List agents

GET https://bymykel.github.io/CSGO-API/api/en/agents.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List patches

GET https://bymykel.github.io/CSGO-API/api/en/patches.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List graffiti

GET https://bymykel.github.io/CSGO-API/api/en/graffiti.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List music kits

GET https://bymykel.github.io/CSGO-API/api/en/music_kits.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
exclusive boolean
image string

csgo-api's People

Contributors

bymykel avatar actions-user avatar hojlund123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.