https://github.com/abcxff/wormax-client
Incomplete interface to interact with wormax.io api and game servers
https://github.com/abcxff/wormax-client
api headless websocket wormax
Last synced: about 1 year ago
JSON representation
Incomplete interface to interact with wormax.io api and game servers
- Host: GitHub
- URL: https://github.com/abcxff/wormax-client
- Owner: abcxff
- License: apache-2.0
- Created: 2021-02-26T04:07:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T14:56:35.000Z (about 5 years ago)
- Last Synced: 2025-04-10T00:50:36.441Z (about 1 year ago)
- Topics: api, headless, websocket, wormax
- Language: JavaScript
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wormax-client
Incomplete interface to interact with [wormax](https://wormax.io) api and game servers
### Contributions
This project is no longer being maintained. If you make any advancements in reversing the wormax client or find bugs, pull requests and issues are welcome
### Example Usage:
```js
const SocketClient = require('./socket')
const APIClient = require('./api');
const client = new APIClient('default', { lang: 'en', party: '' })
client.recieveInitCookies()
.then(() => client.getServersByRegion('US'))
.then((servers) => client.getSpawnData(servers[0].key, 'LB Bot'))
.then((data) => {
const ws = new SocketClient(data, client.cookies);
ws.once('accept', () => {
ws.enter();
ws.once('leaderboard', (data) => {
console.log('Retrieved Leaderboard', data)
ws.close();
})
});
});
```