ff14-advanced-market-search / saddlebag-with-pockets

This is the Frontend for the FF14 Marketplace
https://saddlebagexchange.com/
Apache License 2.0
30 stars 14 forks source link

WoW Pet Import Search #267

Closed cohenaj194 closed 1 year ago

cohenaj194 commented 1 year ago

This one is the same as the FFXIV reselling search, the idea is to buy on other selected servers and sell on the home server.

All the ids and realm names should already be in the FE. We should have the home realm default to whats in the settings, but allow them to change it to whatever they want.

The connectedRealmIDs should just be an empty dictionary.

Right now the only category we have is

post:

{
    "region": "NA",
    "homeRealmID": 3678,
    "connectedRealmIDs": { },
    "petsOnly": true,
    "ROI": 50,
    "profitAmount": 2000,
    "maxPurchasePrice": 2000,
    "salesPerDay": 20,
    "avgPrice": 1000,
    "includeCategories": [],
    "excludeCategories": [],
    "sortBy": "lowestPrice"
}

output

{
    "data": [
        {
            "ROI": 86,
            "avgPriceTSM": 6192.41,
            "itemID": 2698,
            "itemName": "Prismatic Softshell",
            "link": "https://undermine.exchange/#us-illidan/82800-2698",
            "lowestPrice": 911.87,
            "lowestPriceRealmID": 57,
            "lowestPriceRealmName": "Illidan",
            "minPrice": 9698.66,
            "profitAmount": 8347.45,
            "salesPerDay": 38
        },
        {
            "ROI": 54,
            "avgPriceTSM": 1702.94,
            "itemID": 3331,
            "itemName": "Emmah",
            "link": "https://undermine.exchange/#us-illidan/82800-3331",
            "lowestPrice": 1900.0,
            "lowestPriceRealmID": 57,
            "lowestPriceRealmName": "Illidan",
            "minPrice": 4444.35,
            "profitAmount": 2417.13,
            "salesPerDay": 24
        }
    ]
}
oldben87 commented 1 year ago

@cohenaj194 What is the api endpoint for this one?

cohenaj194 commented 1 year ago

api/wow/petimport but fyi this does everything now and not just pets

cohenaj194 commented 1 year ago

https://temp.saddlebagexchange.com/petimport

Therea a simple example here that doesn't use everything but u will get the idea

cohenaj194 commented 1 year ago

I also added more notes about rhe connectedRealmIDs and categories

cohenaj194 commented 1 year ago

If petsOnly is false use the normal categories like in the ffxiv reselling search

cohenaj194 commented 1 year ago

this one is now obsolete im removing it from the api