GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 1.Geiger Counter World Map(www.GMCmap.com)
 Pull realtime count
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

staze

USA
23 Posts

Posted - 03/20/2019 :  18:45:52  Show Profile  Reply with Quote
Just curious if there's an endpoint where I can pull a current count (don't need historical) in json or something similar?

Basically identical to www.gmcmap.com/gmc-plain-data.asp?Param_ID=YOUR_GEIGER_COUNTER_ID&timezone=TIME_ZONE

Only presenting a single result rather than 500. Maybe just altering that gmc-plain-data.asp to accept a "number" variable and that could be set to 1.

Thanks!
Reply #1

staze

USA
23 Posts

Posted - 03/25/2019 :  19:35:34  Show Profile  Reply with Quote
Nothing?
Go to Top of Page
Reply #2

EmfDev

2250 Posts

Posted - 03/26/2019 :  08:54:49  Show Profile  Reply with Quote
I don't think there is.
Go to Top of Page
Reply #3

staze

USA
23 Posts

Posted - 03/26/2019 :  16:44:57  Show Profile  Reply with Quote
Is this something we could get added? Would be nice for integrations with other systems...
Go to Top of Page
Reply #4

EmfDev

2250 Posts

Posted - 03/27/2019 :  12:03:59  Show Profile  Reply with Quote
We will take a look into it.
Go to Top of Page
Reply #5

hiro

34 Posts

Posted - 03/27/2019 :  12:24:18  Show Profile  Reply with Quote
Hi staze, please try the following link:

www.gmcmap.com/historyData-plain.asp?Param_ID=YOUR_GEIGER_COUNTER_ID&timezone=TIME_ZONE
for example: www.gmcmap.com/historyData-plain.asp?Param_ID=64609518812&timezone=-1

This will pull up the last data entry in our database that your counter sent to us.

Example JSON result: {"time": "2018-05-12 0-24:07:13", "CPM": "18", "ACPM": "30.0", "uSv": "0.12"}

If you need more values or anything else we are always happy to help! Thanks again for using GMC geiger counters.

Go to Top of Page
Reply #6

staze

USA
23 Posts

Posted - 03/27/2019 :  18:04:17  Show Profile  Reply with Quote
Hi @hiro,

That's great! Thanks!!!
Go to Top of Page
Reply #7

staze

USA
23 Posts

Posted - 02/05/2023 :  17:42:54  Show Profile  Reply with Quote
@hiro,

This endpoint seems to have disappeared... I'm getting a 404 not found now. Kinda looks like it's been gone for a while, actually. =(

Did the url just change addresses?

Edited by - staze on 02/05/2023 18:14:16
Go to Top of Page
Reply #8

EmfDev

2250 Posts

Posted - 02/06/2023 :  11:14:27  Show Profile  Reply with Quote
Can you guys check it? The devs changed the time to MST and removed the timezone parameter.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.05 sec. Snitz's Forums 2000