New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tibia-data-api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tibia-data-api

A simple NodeJS interface to https://tibiadata.com/ API

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Tibia Data API

A simple NodeJS interface to https://tibiadata.com/ API

Modules:

  • Characters
  • Guilds
  • Highscores
  • Houses
  • News
  • Worlds

Installation

Tibia data API requires Node.js to run.

$ npm install --save

How To use

    const tibiaAPI = require('tibia-data-api')

Character info

    let characterInfo = await tibiaAPI.characters.getInfoByName('Akox Shena')

Guilds

    let guildByWorld = await tibiaAPI.guilds.getByWorld('Lutabra')
    let guildByName = await tibiaAPI.guilds.getByName('Skeletin Alliance')

Highscores

Types: experience, magic, shielding, distance, sword, club, axe, fist, fishing, achievements and loyalty. Vocation: all, druid, knight, paladin and sorcerer.

    let highscoresInfo = await tibiaAPI.highscores.getByWorld('Lutabra')
    let highscoresInfoByWorldAndType = await tibiaAPI.highscores
        .getByWorldAndType('Lutabra', 'experience')
    let highscoresInfoByWorldTypeAndVocation = await tibiaAPI.highscores
        .getByWorldTypeAndVocation('Lutabra', 'experience', 'knight')

Work in progress......

FAQs

Package last updated on 17 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts