Code Monkey home page Code Monkey logo

dstserverquery's Introduction

DstServerQuery

饥荒联机版服务器查询 dstserverlist.top

从Klei服务器下载所有服务器数据进行查询

生成

运行publish-win.bat发布项目
然后打开Ilyfairy.DstServerQuery.Web.exe 接下载访问http://127.0.0.1:3000/api/list

配置

配置文件是appsettings.json

数据库

可以使用SqlServer或者MySql 并且数据库的排序规则Collation需要区分大小写
如果是MySql,则首次需要执行SET GLOBAL local_infile = true;

Token

需要开服的Token, 否则是不能获取详细信息的, 比如玩家信息

代理(可选)

DstDetailsProxyUrl 是一个批量请求详细数据的代理服务器的Url
它相当于https://lobby-v2-cdn.klei.com的代理, 可以自己搭建代理服务器
body将会传入[{"RowId":"KU_XXXXXXXX","Region":"v2-ap-east-1"}]这样的的列表, 并返回{"GET":[xxx]}
不使用代理则请求非常慢

接口

  • /api/server/version 获取饥荒联机版最新版本号
  • /api/list 服务器列表
  • /api/details/{id} 通过RowId服务器详细信息

dstserverquery's People

Contributors

ilyfairy 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.