Skip to content

Invisi/gw2-fotm-instabilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

GW2 Fractal Instabilties for T4

This work is licensed under CC BY-NC 4.0.

How to use

There's basically two options at the moment:

  • Use Aleeva's API. At the moment the API documentation is not finished but you can just contact itsmefox on the Aleeva Discord server.
  • Integrate data.json into your own bot. The instabilities object contains the fractal level as key and the corresponding instabilities as values
    • e.g. data["instabilities"]["76"][0] gives the instabilities for level 76 on ????-01-01.

But I don't want to write my own bot!

Where else can I find the data?

The format of data.json

Here's a commented TypeScript interface.

// looks funny but that's how you can get 76-100 as strings
type LowerLevels = `6` | `7` | `8` | `9`;
type UpperLevels = `0` | `1` | `2` | `3` | `4` | `5` | LowerLevels;
type FractalLevel =
  | `7${LowerLevels}`
  | `8${UpperLevels}`
  | `9${UpperLevels}`
  | `100`;

// list of instabilities in GW2's order
type Instabilities = Array<number>;

// zero-indexed list of instabilities for a whole *leap* year
type Days = Array<Instabilities>;

export interface Data {
  instabilities: { [x in FractalLevel]: Days };
  // list of instability names, indexed in `instabilities`
  instability_names: string[];
}

🛑 Keep in mind that the index of Days does include the leap day and you will have account for that. 🛑

Credits & Thanks to

  • The fractal guild who initially discovered it.
  • Discretize [dT] for putting the required info into the open.
  • itsmefox for writing and providing Aleeva's API.
  • Invisi (this guy) for being a data hoarder and automating the collection of this data.

About

"Predicting" GW2's fractal instabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published