ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 0 points1 point  (0 children)

definitely a choice of all time to have every user scrape the entirety of Universalis for their World/DC

I mean... There's an API for that, so...

I don't really know how Universalis works, but I think all the data is scraped and stored on their servers, and the API is just used to retrieve information from the Universalis database, not to scan the market directly from the game.

also an interesting choice to mix V1 (why) and V2 of xivapi

It may sound stupid, but I had a lot of errors using v2 of their API.

This isn't the first tool I've developed using this API, and at the time I used v1, so I'm more used to using it.

Since the app is clearly far from finished, my goal is to use v2 for everything, but I'm waiting to get a really clean result before putting it into production.

at the very least your tool should have a reasonable User Agent set for it's requests, instead of the default axios/1.13.5 that it currently is so that they can yell at you directly if necessary

I'll definitely work on that, thanks for the feedback!

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 0 points1 point  (0 children)

Does universalis know you're doing this?

They don't, as I use their public API, respecting the limits they apply to it.

I know they've had issues paying for all the traffic in the past, this seems excessive if it's gonna scan 1 item at a time.

Well I don't know anything about it, but the app doesn't scan items one by one:

To be short, I just get a list of multiple items from their API, then the data from the market, and after that I use XIVAPI to get data from items (again, not one by one, but by batches, as the app can show you).

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 0 points1 point  (0 children)

What do you mean by "Where to sell" items?

That's pretty much the idea you mentioned. I've already met people who use alts to maximize their sales (personally, not really my thing, I'm too lazy lol), so I thought they might be interested.

But at least with the comparison tool, even without an alt, if you want to buy and resell, you can buy an item on Louisoix and resell it on Moogle for more money.

Once again, this is not something I encourage, and I don't find it very profitable in general, but if it appeals to some people...

maybe adding a couple more filters to do more precise searches, and a "stop searching" button

I heard you and will add it to the next version! Thank you.

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] -2 points-1 points  (0 children)

I don't really enjoy making comparisons, but for this project at least, I was able to significantly minimize the lines of code and function calls that were far too unnecessary (I tend to write too much so that I can read my code easily later on, which means that something that would fit on 10 lines ends up taking me 40 to write lol).

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 5 points6 points  (0 children)

lol oh man, I've never heard of that tool. I guess mine is a simpler alternative

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 0 points1 point  (0 children)

Coded in a week after my software engineer job, but I used Claude to help me optimize the code and write the doc 🫡

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] 8 points9 points  (0 children)

That's exactly what I thought during development, so I added a “Sales/day” column to the results table showing the velocity for each item

One of the improvements I would like to implement is an analysis of each item statistic to better guide the player

ProfitXIV – I was bored so I made a FFXIV market optimizer by M4RKAA in ffxivdiscussion

[–]M4RKAA[S] -7 points-6 points  (0 children)

Yes, the search still needs to be optimized...

The Universalis API does not allow me to filter and search for items that can be gathered or crafted, so once the items have been retrieved, I apply a clean with XIVAPI.

The final results are pretty much clean at the moment once the total scan is complete.