Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Event when team scores?
Re: Event when team scores?
The plays as they happen, and player info. There's a football game starting in about ten minutes but my kid is sick. I have it on the TV so I'll at least be able to peak at it in the background, and watch to see how quickly it reacts. I'm a little skeptical that mysportsfeeds will give me an instant notification but Hopefully it does. At the very least I should get some log info to build macros from later on. Thanks for the help
Re: Event when team scores?
To subscribe to live sports data from mysportsfeeds.com its 2000 canadian dollars a year. i could be reading this screen incorrectly but this is what it is telling me when I log in and try to subscribe to live scores. Its telling me the only free option is for completed seasons.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
the live feeds should be free as well for non commercial use. it states it on their website.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
states it right on their website
But it states that you have to contact them to get it
The BEST source for democratized, crowd-sourced sports data with a real-time API. Real-time and historical data available. Free API access for non-commercial use.
But it states that you have to contact them to get it
Re: Event when team scores?
EDIT: I just emailed them.
Re: Event when team scores?
I heard back from them yesterday. For live scores as they happen they're asking for a donation of 50.00 a month, and their pricing is tierd all the way down to 1.00 a month for a ten minute delay on notifications. I only asked about personal usage but if anyone is interested, I can share more info.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
Ok first off. A donation is a voluntary thing. If you make it mandatory to give a specific amount then that's what it's price is. It's not a donation. If you don't donate you should still be able to get the item. It states right on their main page that the live data is free. Free means free. No donations are needed. And who may i ask is the donation to? Them? LOL that would be like Saying EG is free but you have to donate 100 dollars to is to get it. How lame is that.
Re: Event when team scores?
I agree, I don't really get why they call it a donation but to each their own. Sports are all about money so finding free instant notifications might be pretty hard. If were really lucky and there's interest we might be able to get an EG liscence cheap but I don't see there being too much demand for this. I'm honsetly surprised its only fifty bucks. The 1 minute delay notifications were ten bucks a month if I remember right, and that didn't seem like TOO much to me if I had some other use for it.
Re: Event when team scores?
That goes back to having an accurate landing page for your site, which is something we've worked pretty hard at.kgschlosser wrote: Mon Oct 09, 2017 4:49 pm It states right on their main page that the live data is free. Free means free. No donations are needed. And who may i ask is the donation to? Them? LOL that would be like Saying EG is free but you have to donate 100 dollars to is to get it. How lame is that.
-
therealbiglou
- Experienced User
- Posts: 126
- Joined: Sat May 19, 2012 4:33 am
Re: Event when team scores?
Do I just make a new macro with a Python Script action and paste the code in? I changed NFL to NHL and made the team code STL. I also added my username and password. When I try to test it, I get this error:
Also, for the event, do I just create a new one and make it Main.OnInit? Will this allow it to run automatically for every game?
Code: Select all
Traceback (most recent call last):
Python script "8", line 25, in <module>
'{}:{}'.format(USERNAME, PASSWORD).encode('utf-8')
ValueError: zero length field name in format- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
You have to sign up on that website that is noted at the top of the script. then you will enter your username and password in the script.
I believe you have to send them an e-mail in order to get live sports data. I believe also there is a mandatory monthly donation as well. if you read back in this topic there is more information on this.
I believe you have to send them an e-mail in order to get live sports data. I believe also there is a mandatory monthly donation as well. if you read back in this topic there is more information on this.
-
therealbiglou
- Experienced User
- Posts: 126
- Joined: Sat May 19, 2012 4:33 am
Re: Event when team scores?
I did read that, signed up, and entered in my information correctly. I tried some basic googling and it seems to be an issue with the line:
More specifically:
https://stackoverflow.com/questions/210 ... ython2-6-6
However, I really don't understand what everyone is actually saying about it.
Code: Select all
'{}:{}'.format(USERNAME, PASSWORD).encode('utf-8')Code: Select all
'{}:{}'However, I really don't understand what everyone is actually saying about it.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
its a problem with USERNAME = or PASSWORD =
it should look like follows
it should look like follows
Code: Select all
USERNAME = "some username"
PASSWORD = "some password"
-
therealbiglou
- Experienced User
- Posts: 126
- Joined: Sat May 19, 2012 4:33 am
Re: Event when team scores?
That is precisely what I have. I have triple checked to make sure it's EXACTLY in that format. I have also copied and pasted what I inputted into the script into the website and they are correct.
Could it be an issue with my password? It contains a few special characters.
Could it be an issue with my password? It contains a few special characters.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Event when team scores?
change the line
to
Code: Select all
'{}:{}'.format(USERNAME, PASSWORD).encode('utf-8')
Code: Select all
'{username}:{password}'.format(username=USERNAME, password=PASSWORD).encode('utf-8')
