cfna / cfwest-api Goto Github PK
View Code? Open in Web Editor NEWUnofficial CrossFire West Api Client for Node.js
Home Page: https://cfna.github.io/cfwest-api/
License: Other
Unofficial CrossFire West Api Client for Node.js
Home Page: https://cfna.github.io/cfwest-api/
License: Other
Currently building & testing is done in a single job.
This should be changed, and the jobs should be renamed:
This module is currently only partially supporting the new profile endpoints.
Support for the new calls to query profile match statistics is still to be implemented.
Sample calls:
rest/userprofile.json?command=gamemode&usn=1&gid=EM
where gid
can also be:
The new profile page which came late 2019 brings some (breaking?) changes to the API.
There are new endpoints and it seems like response models have changed as well.
Further investigations are required to make all important changes to the models.
The new profile API has support to query for a users collection.
This endpoint still needs to be implemented in this module.
Sample call:
rest/userprofile.json?command=weaponcollection&usn=1&order=1
Add a small sample project which shows the basic ApiClient usage.
There's a lot of things to improve in tsconfig.json
.
A lot of the current properties should not be needed and can be removed.
Also there might be new flags which the current tsconfig is not aware of.
The TSLint package was deprecated in early 2020.
It should be removed from the codebase, and preferably replaced with another linter package (ESLint).
Adding more code documentation for classes & methods is required.
Add support for new Mercenary Pass Endpoints:
https://crossfire.z8games.com/rest/battlepass.json?command=userpasses (requires authentication)
https://crossfire.z8games.com/rest/battlepass.json?command=faqs
Also it is to be evaluated if there's further endpoints to support for the mercenary pass to be completely integrated into the API
The push trigger causes a lot of unnecessary build time being wasted which is not required.
Simply remove the push trigger from the GitHub action should save some time.
The new profile page comes with an updated API call to query for an user's inventory.
Sample:
rest/userprofile.json?usn=1&command=inventory&category=0&order=1&start=1&end=20
This part of the API needs to be implemented in this module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.