So there is an in game plugin called Allagan Tools that can generate tables of information on a users item inventory. It tells whats in their bags, on the market and the quantity/item id/quality. I asked the creator to have an export to json and copy to clipboard button in the next version.
The api requires only 2 inputs:
"server" from the site settings
"allagan_json_data" which is the dump of json data from the plugin
Below an example of input/output it gives back 3 fields any of these can be empty:
1) undercut_alert_json a json object for the undercut alert, it should go in a copy text box as it does now
2) sale_alert_json a json object for the sale alert, should be able to copy it similar to the other alerts
3) in_bags_report: A list that needs to be shown in a table. Is the each item in the list has the following format:
Note that out of stock value and min_price will be 999999999
If we dont have the quantity for some items its value will be 0, if the value of an item is 0 we can label it as Quantity Unknown or Quantity missing from Allagan data
The 2 alert jsons dont need to be displayed, just add a button that when clicked copys the json to your clipboard
The in_bags_report should be in a table
I'm also adding 2 new lists that should also be shown in tables: sale_items_not_up_to_date and undercut_items_not_up_to_date these are also 2 lists. If the lists are empty it should say "All items are up to date no undercuts found!" or "All items are up to date no sales yet!"
For the sale items the list will show this, the description should be:
"We did not find your retainers selling these items! Please go to your home marketboard and search for these with Dalamud Plugins installed to update the market data":
For the undercut items the items will show up like this, the description should be:
"You appear to be undercut on these items! Please go to your home marketboard and search for these with Dalamud Plugins installed to update the market data and make sure you are not undercut."
api path is
api/parseallagan
So there is an in game plugin called Allagan Tools that can generate tables of information on a users item inventory. It tells whats in their bags, on the market and the quantity/item id/quality. I asked the creator to have an
export to json and copy to clipboard
button in the next version.The api requires only 2 inputs:
Below an example of input/output it gives back 3 fields any of these can be empty:
1)
undercut_alert_json
a json object for the undercut alert, it should go in a copy text box as it does now 2)sale_alert_json
a json object for the sale alert, should be able to copy it similar to the other alerts 3)in_bags_report
: A list that needs to be shown in a table. Is the each item in the list has the following format:out of stock
value and min_price will be 999999999Quantity Unknown
orQuantity missing from Allagan data
outcome
So heres how the page should look.
in_bags_report
should be in a tablesale_items_not_up_to_date
andundercut_items_not_up_to_date
these are also 2 lists. If the lists are empty it should say "All items are up to date no undercuts found!" or "All items are up to date no sales yet!"For the sale items the list will show this, the description should be:
"We did not find your retainers selling these items! Please go to your home marketboard and search for these with Dalamud Plugins installed to update the market data":
For the undercut items the items will show up like this, the description should be:
"You appear to be undercut on these items! Please go to your home marketboard and search for these with Dalamud Plugins installed to update the market data and make sure you are not undercut."
Json post data
Response data