erorus / newsstand Goto Github PK
View Code? Open in Web Editor NEWNewsstand powers The Undermine Journal and WoW Token Info, for Auction House prices from World of Warcraft
Home Page: https://theunderminejournal.com/
License: Apache License 2.0
Newsstand powers The Undermine Journal and WoW Token Info, for Auction House prices from World of Warcraft
Home Page: https://theunderminejournal.com/
License: Apache License 2.0
Is not code related but I didn't find any way to contact you.
The site seems to be offline since 2PM (CEST) of today (29/06/2019).
The error receiving is:
ERR_CONNECTION_TIMED_OUT
I was trying to simply query about 700 items like this:
https://theunderminejournal.com/api/item.php?house=241&item=something
sleep(100)
I realise I put sleep too low, but there was no where on the tuj page that said anything about rate limits, and why am I perma banned now? usually API's just time you out so you can adjust your code and try again in a few min. Is it possible to be unbanned please?
It would be a lot easier if I could just query every single item in one go, is there such a thing?
Thanks
Looks like TUJ hasn't been updated for shadowlands yet. Not sure if this is something already being worked on but it's definitely something desired by the wow economy community (as seen in this reddit post).
TSM already supports this, but TUJ does not for some reason. It is a serious issue with the new AH where in groups only have itemID or a battle pet link via GetItemKeyInfo(). Being able to filter prices by itemID via new AH group min price is great for snipers and or other AH addons.
line 164:
elseif (type(item) == 'string') then
_, link = GetItemInfo(item)
if not link then return tr end -- this will always be nil when you query over 5000 items using just a number itemID passed to item. Thus the need for the other else at the bottom to simply convert the number to a string and pass it on as dataKey to TUJ lookup table. Otherwise, we always get just a blank table back when dealing with raw itemID numbers. No need to lookup a link if it is just an itemID, as that link will not provide the bonus ids.
local itemString = string.match(link, "item[%-?%d:]+")
local itemStringParts = { strsplit(":", itemString) }
iid = itemStringParts[2]
dataKey = iid
pricingLevel = 0
local _, _, _, _, _, itemClass = GetItemInfoInstant(item)
if (itemClass == 2) or (itemClass == 4) then
local effectiveLevel, previewLevel, origLevel = GetDetailedItemLevelInfo(item)
pricingLevel = effectiveLevel
if not addonTable.marketData[dataKey .. 'x' .. pricingLevel] then
local low, high = math.min(effectiveLevel, previewLevel or effectiveLevel, origLevel), math.max(effectiveLevel, previewLevel or effectiveLevel, origLevel)
for i=low,high,1 do
if addonTable.marketData[dataKey .. 'x' .. i] then
pricingLevel = i
end
end
end
end
if pricingLevel > 0 then
dataKey = dataKey .. 'x' .. pricingLevel
end
else
iid = tostring(item);
dataKey = iid;
pricingLevel = 0;
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.