Mxrk / tracker-poe

Bug and feature tracker for stats page
2 stars 0 forks source link

History endpoint #3

Closed vertex101 closed 3 years ago

vertex101 commented 4 years ago

when you try to use the history end-point you just get a message that says wrong league

Mxrk commented 4 years ago

Hey, thanks for reporting. You mean something like .../history?id=470&league=Heist? I can't reproduce that problem, did you maybe enter a wrong league?

I also restarted the service a couple of hours ago because I added a new feature, but the "downtime" was only around 5-10 seconds... maybe that happened exactly when you tried to use that endpoint.

vertex101 commented 4 years ago

Well I was trying to pull data from a past league but I guess that isn’t do able

Sent with GitHawk

Mxrk commented 4 years ago

Oh, you're right - that isn't possible at the moment. But I still have the old prices stored so I can add that. Will answer here when I am done, probably this weekend.

Mxrk commented 4 years ago

Hi, now the history endpoint also supports old leagues. I started in the last week of harvest, so that will be the oldest available data. Does it now work like expected?