Automating picks from Telegram

    • 36 posts
    May 22, 2023 1:47 PM BST

    In another post

    https://smartbet.io/forums/topic/44/automating-external-sources-with-smartbet-io

    It says that "Any external source can be automated with Smartbet.io. To connect an external source with Smartbet.io, you must first retrieve picks from the original source and then submit them to Smartbet.io. This process is applicable to websites, Telegram channels, Arbitrage or Value alert services, Excel files, emails, and more."

    If I have a telegram channel that posts tips in the right format

    SPORT: [Sport associated with the pick]
    EVENT: [Event related to the pick]
    BET: [Pick's bet string]
    ODDS: [Pick's odds in decimal format]
    STAKE: [Stake for the pick in Smartbet.io's 1-10 units scale]
    BOOK: [Bookmaker, e.g. "PINNACLE", "BET365"]
    SOURCE: [Smartbet.io source that the pick is submitted to]

    How can I set up my bot to automatically make picks for my source from that Telegram message?

     

     

     

    • 43 posts
    May 22, 2023 11:55 PM BST

    I am not sure that I understand. Why is it relevant what format a telergam or any other external source uses? You will need to have an app that connects to the external source, reads the picks and submits them to smartbet.io. As long as the information needed by smartbet.io is present and the source is using a consistent and structured syntax, transforming them to the smartbet.io accepted format is trivial.

    Challenges occur when sources deliberately employ techniques to prevent scraping or automation. These techniques may include embedding information within images, captchas, tracking response times and many others. 


    This post was edited by tango at May 23, 2023 12:00 AM BST
    • 36 posts
    May 23, 2023 12:12 AM BST

    Sorry, I didn’t explain what I am trying to do well. I mean that I don’t have an app that connects to the telegram messages, reads the picks and submits them to smartbet.io. How do I get an app that can do that?

    (I have a bot on bf bot manager that finds selections itself and is profitable, it can send a message to telegram when it places a bet, then I want that bet to be sent to my source as a pick on Smartbet.io so I can sell the picks as tips. I know how to make the telegram part and I have the Smartbet bot, but I don’t have the connecting app in between.)

    • 43 posts
    May 23, 2023 12:42 AM BST

    You will need to build an app that scans telegram (or whatever external source you are interested in) and feeds the picks to Smartbet.io so that they can be linked to a specific Smartbet.io source that it can then be followed by Smartbet.io bots. You can use any of the supported automatic methods, like http POST/GET, or email to picks@smartbet.io as explained in smartbet.io/forums/topic/44/automating-external-sources-with-smartbet-io. Most text-based external sources like telegram channels, emails, websites are straightforward to scan and bridge to smartbet.io and would take a medium skilled programmer no more than a few hours.

    Many users have built such scrapers for various kinds of sources in the past, like arb alert services, telegram channels, mail lists, etc. There were also some developers with experience in the Smartbet.io API that had built such applications for others and used to write in the old forum, let me know if you need their contact. In any case, you can find many programmers in webites such as freelancer.com, toptal.com and similar ones.


    This post was edited by tango at May 23, 2023 12:59 AM BST
    • 36 posts
    May 23, 2023 3:13 AM BST

    Thank you for the detailed reply. I am interested in learning how to do this myself. It is a fun challenge to find out how this all works. So I will try to read up some more and see how to do that. Don't worry. I am not going to ask you to teach me how to code from scratch. But I might ask specific Smartbet related questions that I cannot find the answer to from web searches.

     

    --------

    If anyone else is thinking about doing this from zero coding experience like me, my current starting point is the idea that I need to:

     

    1. Scan my telegram channel to get the data I need (also called "scraping" data from the internet)

    2. Use a "POST request" (or "GET request") to send the data to the Smartbet API endpoint postpick.php

     

    From looking at the internet I am going to start at these help pages:

    https://betterprogramming.pub/how-to-get-data-from-telegram-82af55268a4b 

    https://www.scrapingbee.com/blog/web-scraping-101-with-python/

    I can compile this into an executable file

    https://datatofish.com/executable-pyinstaller/

    And then schedule this application to run every 10 minutes to check for new bets to be posted

    https://stackoverflow.com/questions/9949067/send-http-get-request-to-me-every-x-minutes

     

    Or I will next try to learn and use Node.js (a runtime environment for running Javascript outside a browser) if I cannot manage to do it through python (a programming language).

     

    If I manage to do it. I will make a YouTube video to demonstrate to others how to do it, too.

     

    • 4 posts
    August 8, 2023 11:11 AM BST

    I'm looking at doing this myself too and would be interested in finding out if you were successful.

    • 36 posts
    August 11, 2023 9:22 AM BST

    In the end I could not do it and took the shortcut of paying a programmer from Freelancer.com to make a program to do it for me.

     

    • 4 posts
    August 11, 2023 11:23 AM BST

    TomW,

    Thanks for coming back to me on this.

    Is it working for you? Would you be able to share details?

    thanks again. 

    • 3 posts
    December 31, 2023 5:24 PM GMT
    tango said:


    Many users have built such scrapers for various kinds of sources in the past, like arb alert services, telegram channels, mail lists, etc. There were also some developers with experience in the Smartbet.io API that had built such applications for others and used to write in the old forum, let me know if you need their contact.

    Heya, I'd appreciate it if u could please  point me to some of these members. I'm trying to get something like this so I can use the bot.

    Thank u! 

    • 43 posts
    January 1, 2024 12:59 PM GMT
    Oliz said:
    tango said:


    Many users have built such scrapers for various kinds of sources in the past, like arb alert services, telegram channels, mail lists, etc. There were also some developers with experience in the Smartbet.io API that had built such applications for others and used to write in the old forum, let me know if you need their contact.

    Heya, I'd appreciate it if u could please  point me to some of these members. I'm trying to get something like this so I can use the bot.

    Thank u! 

    Hello, I have asked several members who have built similar apps in the past to either post here or contact you directly.

    • 3 posts
    January 2, 2024 12:55 PM GMT
    tango said:
    Oliz said:
    tango said:


    Many users have built such scrapers for various kinds of sources in the past, like arb alert services, telegram channels, mail lists, etc. There were also some developers with experience in the Smartbet.io API that had built such applications for others and used to write in the old forum, let me know if you need their contact.

    Heya, I'd appreciate it if u could please  point me to some of these members. I'm trying to get something like this so I can use the bot.

    Thank u! 

    Hello, I have asked several members who have built similar apps in the past to either post here or contact you directly.

    II doubt it I'll get any help 😅 but thank u for trying! 

    • 5 posts
    January 3, 2024 1:08 PM GMT
    Oliz said:
    tango said:
    Oliz said:
    tango said:


    Many users have built such scrapers for various kinds of sources in the past, like arb alert services, telegram channels, mail lists, etc. There were also some developers with experience in the Smartbet.io API that had built such applications for others and used to write in the old forum, let me know if you need their contact.

    Heya, I'd appreciate it if u could please  point me to some of these members. I'm trying to get something like this so I can use the bot.

    Thank u! 

    Hello, I have asked several members who have built similar apps in the past to either post here or contact you directly.

    II doubt it I'll get any help 😅 but thank u for trying! 

    Please see External source automation and more - Smartbet.io

    • 1 posts
    January 3, 2024 5:32 PM GMT

    Hey, I’d like to talk to some of those members too 😅 Thanks!

    • 43 posts
    January 3, 2024 7:21 PM GMT
    gmoncada14 said:

    Hey, I’d like to talk to some of those members too 😅 Thanks!

    Hello, user "eloy" created a topic and posted a link just above your post. Please contact him directly.

    • 5 posts
    January 4, 2024 6:56 PM GMT
    gmoncada14 said:

    Hey, I’d like to talk to some of those members too 😅 Thanks!

    Sorry, my previous post was not clear. You can contact me to discuss building any betting related project including interfacing external sources to smartbet.io

    I created a topic in the External Sources forum, here is the link again: 

    External source automation and more - Smartbet.io

    • 1 posts
    February 10, 2024 3:07 PM GMT

    Please feel free to reach out to me as well: I am a programmer with quite a good experience in bot and automating betting activity!

     

    Just DM !