1.0.3 • Published 4 years ago
zenith-private-api v1.0.3
Zenith MMO
This is the Zenith MMO private api.
Exemple of use
const Zenith = require('zenith-private-api')
const api = new Zenith.API()
api.getUserInfo("username").then(user => {
console.log(user)
})import * as Zenith from 'zenith-private-api'
const api = new Zenith.API();
api.getUserInfo("username").then(user => {
console.log(user)
})Functions :
getUserInfo(username: string): Promise<User>getUserFriends(username: string): Promise<Friend[]>getUserCharacters(username: string): Promise<Character[]>getCharacterInventory(username: string, characterId: string): Promise<Item[]>getGuildInfo(name: string): Promise<Guild>