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

This is the Frontend for the FF14 Marketplace

Home Page:https://saddlebagexchange.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wow export search

cohenaj194 opened this issue · comments

ref #253

http://{{LOCAL}}/api/wow/export

you can try this out with 2 items for 194018 and 3390 legacy support is incomming

{
    "region": "NA",
    "itemID": 194018,
    "populationWP": 1,
    "populationBlizz": 1,
    "rankingWP": 90,
    "minPrice": 1000,
    "maxQuantity": 1000,
    "sortBy": "minPrice",
    "connectedRealmIDs": {}
}

regular item example:
test1.json.zip

pet example (its the same except the warcraft pets link is not an empty string)

test2.json.zip

@oldben87 let me know if this makes more sense

Are the all links meant to be the same for all the responses from the api?

Screenshot 2023-07-03 at 23 43 59

Are the all links meant to be the same for all the responses from the api?

Screenshot 2023-07-03 at 23 43 59

Well I guess the links to our own website isnt important. It was more of a convenience for the temporary frontend.

Only the Undermine link is important as that is different for each server.

Only the Undermine link is important as that is different for each server.

They are all the same at the moment

Only the Undermine link is important as that is different for each server.

They are all the same at the moment

Ok that is a bug then let me patch that

Are the all links meant to be the same for all the responses from the api?
Screenshot 2023-07-03 at 23 43 59

Well I guess the links to our own website isnt important. It was more of a convenience for the temporary frontend.

Only the Undermine link is important as that is different for each server.

fixed now this was copypasta

{
    "data": [
        {
            "connectedRealmID": 3684,
            "connectedRealmNames": [
                "Mal'Ganis"
            ],
            "itemQuantity": 8,
            "link": "https://saddlebagexchange.com/wow/item-data/194018",
            "minPrice": 16111.11,
            "realmPopulationInt": 3,
            "realmPopulationReal": 18405,
            "realmPopulationType": "FULL",
            "realmRanking": 4,
            "undermineLink": "https://undermine.exchange/#us-malganis/194018"
        },
        {
            "connectedRealmID": 53,
            "connectedRealmNames": [
                "Eredar",
                "Gorefiend",
                "Hellscream",
                "Spinebreaker",
                "Wildhammer",
                "Zangarmarsh"
            ],
            "itemQuantity": 20,
            "link": "https://saddlebagexchange.com/wow/item-data/194018",
            "minPrice": 5299.99,
            "realmPopulationInt": 3,
            "realmPopulationReal": 3918,
            "realmPopulationType": "FULL",
            "realmRanking": 43,
            "undermineLink": "https://undermine.exchange/#us-hellscream/194018"
        },
        {
            "connectedRealmID": 1168,
            "connectedRealmNames": [
                "Cairne",
                "Cenarius",
                "Frostmane",
                "Korgath",
                "Ner'zhul",
                "Perenolde",
                "Tortheldrin"
            ],
            "itemQuantity": 33,
            "link": "https://saddlebagexchange.com/wow/item-data/194018",
            "minPrice": 4000.0,
            "realmPopulationInt": 2,
            "realmPopulationReal": 4771,
            "realmPopulationType": "HIGH",
            "realmRanking": 31,
            "undermineLink": "https://undermine.exchange/#us-cairne/194018"
        },
...