t-mw / gw2-arbitrage

Finds items in Guild Wars 2 that can be sold on the trading post for a higher price than the cost of crafting the item.
28 stars 5 forks source link

Use my API key to check if I know the recipe #13

Closed Iiridayn closed 2 years ago

Iiridayn commented 3 years ago

This one is probably an "I'd love a pull request" issue; it also opens potential for discussion of cross-platform configuration files, which is usually not a favorite topic. Opening this so it's available for discussion.

I might work on this when I'm more comfortable with Rust - I do not know enough yet to get file caching for #7 working successfully.

Iiridayn commented 3 years ago

Some issues I've run into w/a first step implementation.

The API appears to not list automatically unlocked recipes; so we'll have to check for available chars of an appropriate crafting level as well. The API does list if a recipe is an auto unlock, at what level, for what disciplines, so there's that at least.

I've run into situations where I bought a recipe to craft something, only to learn that I needed an inscription recipe as well; so we need to check all recursive recipes.

I am uncertain how recipe data should be shown in the large table view; we have the data, so we may as well show it to influence higher level decisions.

This would be a useful precursor to #8.