![]() |
|
URL request time limit not respected? - Printable Version +- Blitzortung.org Forum (https://forum.blitzortung.org) +-- Forum: Public Forums (https://forum.blitzortung.org/forumdisplay.php?fid=29) +--- Forum: Website, Maps and Applications (https://forum.blitzortung.org/forumdisplay.php?fid=24) +--- Thread: URL request time limit not respected? (/showthread.php?tid=4228) |
URL request time limit not respected? - Karri - 2026-05-15 (Edit: URLs are not allowed, so removing them, mentally add them where appropriate) Tried to search this forum with all the relevant keywords but could not find this to have been discussed. Sorry in advance if I'm mistaken. I am writing software to fetch the recent strikes as per documentation, and while everything else seems to work perfectly, the "time" parameter in the URL seems to be ignored. /Data/Protected/last_strikes.php?time=1778840631155816319&number=30000&west=10&east=40&north=70&south=50&sig=0 done at time 1778840931155816319 (i.e. the request limit is 5 min earlier) results in response containing (as last record, there were 1188 records, so the "number" parameter did not limit anything either) {"time":1778827480863817500,"lat":60.535376,"lon":33.547539,"alt":0,"pol":0,"mds":14367,"mcg":242,"status":0,"region":1} Here are the times again with a fixed width font and a space separating seconds from nanoseconds REQUEST: 1778840631 155816319 REQUEST DONE AT: 1778840931 155816319 RESPONSE: 1778827480 863817500 So the record is almost 4 hours old. I can easily filter those out, but just wondering whether there is a bug or I just do not understand something here. Likely the latter. Also, the documentation states that the default value of the "time" is "current time stamp", which cannot possibly be true? Wouldn't that filter out all the strikes automatically (and by default!)? Anyway, being new to this project and community, I have to say that I am deeply impressed by the quality of everything. Especially I love the no-nonsense diagnostic page of the station! RE: URL request time limit not respected? - cutty - 2026-05-15 Are you an operator of a station? What's your station number? have you reviewed this link? https://www.blitzortung.org/en/contact.php#contribution_7 RE: URL request time limit not respected? - Karri - 2026-05-18 (2026-05-15, 13:02)cutty Wrote: Are you an operator of a station? Yes I am an operator and my station number is 3243. I'm currently building ferrite antennas for it. I have read that page you linked to, but I do not immediately see how it is relevant to this situation. The "time" parameter is not a problem for me, I just mentioned it in order to contribute (as a possible bug report). And at least the documentation seems to be unclear for that parameter. RE: URL request time limit not respected? - cutty - 2026-05-18 (2026-05-18, 15:22)Karri Wrote:It was relative because only operators typically can access such files, and you stated you were writing software... Now since you've provided your station number etc., and I've validated you, I've upgraded your forum privileges to 'operator'... you now have access to the internal boards....(2026-05-15, 13:02)cutty Wrote: Are you an operator of a station? Welcome Aboard!
|