Socket
Socket
Sign inDemoInstall

projectmapiwrapper

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    projectmapiwrapper

Wrapper for flyff project M api. Wrappers main focus is simplicity and easy to use


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

FLYFF Project M API Wrapper

Very easy to use, simple wrapper for the Project M Flyff API.

https://www.npmjs.com/package/leagueapiwrapper

Usage / Quick Start

import ProjectMAPI from 'projectmapiwrapper';
// In the future, instantiating the class with an API key may be required!
// const projectMApi = new ProjectMAPI();

// get all class ID's and log them
ProjectMAPI.getAllClassIds().then(console.log);

Methods

getAllClassIds

// Returns a list of all ID's. E.G [764, 2246 ...]
ProjectMAPI.getAllClassIds().then(console.log);

getClassById

ProjectMAPI.getClassById(764).then(console.log);

// Or, use multiple ids to get multiple values in response, seperated by comma
ProjectMAPI.getClassById(764, 9686).then(console.log);

getAllNpcIds

// Returns a list of all ID's. E.G [29, 47, 54 ...]
ProjectMAPI.getAllNpcIds().then(console.log);

getNPCById

ProjectMAPI.getNPCById(29).then(console.log);

// Or, use multiple ids to get multiple values in response, seperated by comma
ProjectMAPI.getNPCById(29, 3421).then(console.log);

Keywords

FAQs

Last updated on 08 Jul 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc