Giter VIP home page Giter VIP logo

Comments (3)

joshuaferrara avatar joshuaferrara commented on September 1, 2024

I've not thought of adding that in yet. As of writing this comment I'm not even sure if it's possible but ill take a look in a few hours.

from node-csgo.

JDeuce avatar JDeuce commented on September 1, 2024

Alright,the only thing I know for sure is once you select a demo for download, the client goes out over regular http to a URL like http://replay114.valve.net/730/003049563753109520390_1479899742.dem.bz2.

My guess is that it uses some request like the ones you've been tapping into to get some list of matches, and somehow piece together the URLs... but I haven't dug into it yet.

from node-csgo.

joshuaferrara avatar joshuaferrara commented on September 1, 2024

Added in commit a526b02

By using requestRecentGames, you will be able to get a list of recent matches given an accountId. Each match returned has a URL to the dem.bz2 file that you can download.

The readme has a lot more info on what is returned.

from node-csgo.

Related Issues (20)

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.