1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

where do i get rss/xml feed for euromillions lottery?

Discussion in 'Programming' started by craigedmonds, Sep 15, 2013.

  1. #1
    I want to start importing the euromillions lottery results from national-lottery.co.uk in order to display them on one of my sites but cannot find any xml/rss feeds for it.

    There is quite a few sites offering feeds etc but I would like to ONLY get them direct from national-lottery.co.uk if its possible.
    SEMrush
    Does anyone know how (without scraping)?
     
    craigedmonds, Sep 15, 2013 IP
    SEMrush
  2. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    725
    Likes Received:
    50
    Best Answers:
    31
    Trophy Points:
    150
    #2
    Lottery websites usually don't have feeds, at least not for historical data. They usually provide it as a csv/txt files which you can download/parse. For the above website, it seems to be located at the game page -> Previous Draw Results -> Download draw history for game X.

    Example: https://www.national-lottery.co.uk/player/lotto/results/downloadResults.ftl

    It seems you need to contact them for historical dates.
     
    ThePHPMaster, Sep 15, 2013 IP
  3. JamesColin

    JamesColin Prominent Member

    Messages:
    7,878
    Likes Received:
    163
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #3
    Hello, I know it is late but I'm making an euromillions site too, just this week.

    As for the feeds I've found the one for France:
    -www.fdj.fr/jeux/jeux-de-tirage/euromillions/
    Click at the bottom on Historique Euro Millions - My Million (depuis septembre 2016)
    It's the latest draws from the new formula (24 september 2016) but you have also 3 other files for the past formulas dating from the start 2004.
    It is a zip file with a CSV file inside.

    And the one for UK:
    -www.national-lottery.co.uk/results/euromillions/draw-history
    Click on Download draw history (CSV format)
    Only last 180 days draws.

    I'd like to have more feeds from other participating countries so that I can get the results as soon as possible by checking several sources on the evening of the draws and also to gather more data. For instance the CSV file from UK is very poor in informations compared to the one from France.

    So if any of you know the location of other countries' feeds, please share them in this thread, thank you very much.
     
    JamesColin, Oct 5, 2016 IP
    craigedmonds likes this.
  4. JamesColin

    JamesColin Prominent Member

    Messages:
    7,878
    Likes Received:
    163
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #4
    Does anyone know how to retrieve the amount of the next euromillions jackpot ?
    I see it on many sites (in euros and in local currencies) but of course all my emails regarding their sources are unanswered, famous webmaster solidarity. :)

    It is not available in the zip/csv file from "la francaise des jeux" so do I need to scrap one of those sites in order to get the amount, is there like an official file which is secretly available somewhere ?
     
    JamesColin, Oct 23, 2016 IP