by Mackiland » Mon Oct 18, 2021 3:13 pm
by Comfed » Mon Oct 18, 2021 8:00 pm
by Mackiland » Mon Oct 18, 2021 10:37 pm
Comfed wrote:You… already can do this. https://www.nationstates.net/page=deck/show_trades=asks
by All Wild Things » Tue Oct 19, 2021 3:39 am
by Mackiland » Tue Oct 19, 2021 4:43 am
All Wild Things wrote:Good stuff. Get that rate limit sorted though!
The Auction Checker seemed to duplicate this:
https://www.nationstates.net/page=deck/ ... s=auctions
I don't know that I'd use it, but an enhancement could be to check a list of puppets for active auctions. That would save the effort of logging in to each account.
The Bids Checker is cool. I found some bids that I hadn't expected to see.
I think I'd have made the output more tabular, like the main site Market page.
So each row could have the link, id, season, rarity / junk price, MV, and highest bid (and lowest ask if it's easily available?). Not sure that I'd be interested in all the other lower bids that come up just now (other players may disagree).
Another nice touch would be if the card name could be returned instead of the id.
All Wild Things wrote:The Auction Checker seemed to duplicate this:
https://www.nationstates.net/page=deck/ ... s=auctions
All Wild Things wrote:I think I'd have made the output more tabular, like the main site Market page.
So each row could have the link, id, season, rarity / junk price, MV, and highest bid (and lowest ask if it's easily available?). Not sure that I'd be interested in all the other lower bids that come up just now (other players may disagree).
All Wild Things wrote:Another nice touch would be if the card name could be returned instead of the id.
All Wild Things wrote:Get that rate limit sorted though!
by 9003 » Tue Oct 19, 2021 7:20 am
OR I just need to make a HUGE list of ALL the cards with their names and IDs and I could get that data from there. But this sounds like a lots of work because there are too many cards.
by All Wild Things » Tue Oct 19, 2021 10:47 am
by Mackiland » Tue Oct 19, 2021 11:07 am
All Wild Things wrote:Ah! So I'd misunderstood the purpose of the Auction Checker.
I've not looked at your code yet, but I'm guessing that for the Bids Checker you're pulling the "markets" shard for each card? If so, you could try and combine with the "info" shard, like this:
https://www.nationstates.net/cgi-bin/ap ... 1;season=1
That way you could get the card name included (I think!)
by Mackiland » Tue Oct 19, 2021 11:17 am
9003 wrote:In the data dumps there is an XML file with all of the cards info for each season. You could use it quite easily.
As for fixing the rate limit try having it run locally similar to how NS login by aurella does it.
by 9003 » Tue Oct 19, 2021 6:04 pm
by Mackiland » Tue Oct 19, 2021 11:38 pm
9003 wrote:Ran into an interesting corner case that may only affect me but when entering a deck with 280,000 cards it gives me an error
Bid checker also seems to do asks btw
by Mackiland » Thu Oct 21, 2021 7:32 am
Advertisement
Users browsing this forum: 9003, Aurora Islands, ImperialRussia, Improper Classifications, New Flamington, Sto Lat, Stratocratic-Anarchy Oceanic Empire, The Terren Dominion, Thermodolia, Tungstan
Advertisement