Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ffxiv-datamining-github-api

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffxiv-datamining-github-api

An XIVAPI-like API for "using the CSVs" off of GitHub.

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ffxiv-datamining-github-api

An XIVAPI-like API for "using the CSVs" off of GitHub.

Installation

npm i -S ffxiv-datamining-github-api

Usage

import { FFXIVSheetResolver } from "./ffxiv-datamining-github-api";

const sr = new FFXIVSheetResolver();

sr.getSheet("BNpcParts").then(console.log);

// The optional second parameter is the recursion depth;
// increasing this increases execution time drastically.
// For the TerritoryType sheet, a recursion depth of 1
// resulted in an execution time of roughly 1.5 minutes,
// while a recursion depth of 0 resulted in an execution
// time of roughly 0.9 seconds.
sr.getSheet("Item", 0).then(console.log);

// The second parameter here is the row number to pull;
// recursion depth isn't an issue on single-row fetches.
// The optional third parameter corresponds to the
// recursion depth.
sr.getSheetItem("TerritoryType", 202).then(console.log);
sr.getSheetItem("TerritoryType", 203).then(console.log);

sr.searchSheet("Weather", {
    searchTerm: "heat waves",
}).then(console.log);

sr.searchSheet("BGMFade", {
    columns: ["ID", "BGMFadeType.ID"],
}).then(console.log);

sr.searchSheet("BGMFade", {
    filters: ["BGMFadeType.ID>=2"],
}).then(console.log);

sr.search({
    searchTerm: "eulmore",
    indexes: ["PlaceName"],
    recurseDepth: 0,
}).then(console.log);

FAQs

Package last updated on 29 Jul 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc