This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

look for tcl to read website info

Help for those learning Tcl or writing their own scripts.
Post Reply
e
escovinhas
Voice
Posts: 3
Joined: Sat Aug 06, 2022 2:24 pm

look for tcl to read website info

Post by escovinhas »

Hello.
I'm looking for someone who has developed, knows or helps to create a script that can read information from a website that use json.

The idea is the bot read information from a sports website where they do comments in live from the match. (soocer games)

For example: There are 3 games on that day and running a command like !games the bot read the site and identifies the 3 games. Game1, game2 and game3.

Then I want the bot to copy the live comments from game2 and put them into #channel. Making for example the command !game2 and the bot starts...

The idea is basically through json the bot put the information (comments) into the channel, and identify the games of the day.

Anyone can help?
Cheers!
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

If you have a website that will provide json soccer game info for free, please provide that address here.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
e
escovinhas
Voice
Posts: 3
Joined: Sat Aug 06, 2022 2:24 pm

Post by escovinhas »

I found this website: https://maisfutebol.iol.pt/jogo/aominuto
They have games with In-Live comments. (these is for portugal games and uefa)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Yup. As expected that site does not provide json game info.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
e
escovinhas
Voice
Posts: 3
Joined: Sat Aug 06, 2022 2:24 pm

Post by escovinhas »

There is any way that can do what i asked?
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

json soccer info

Post by SpiKe^^ »

If you have a website that will provide json soccer game info for free, please provide that address here.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
User avatar
CrazyCat
Revered One
Posts: 1216
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

json or rss which could be used with rss-synd
Post Reply