Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default National lottery API?

    Hi,

    Wanting to make a system buy lottery tickets and get the ticket details also, Ive noticed the national lottery doesnt do it, do anyone of any sites that do?
    Ross

  2. #2
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by GoldenMerc View Post
    Hi,

    Wanting to make a system buy lottery tickets and get the ticket details also, Ive noticed the national lottery doesnt do it, do anyone of any sites that do?
    Ross
    Could you explain what you mean a little bit more? The national lottery website allows you to play online if that's what you mean.

  3. #3
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Quote Originally Posted by Trinity View Post
    Could you explain what you mean a little bit more? The national lottery website allows you to play online if that's what you mean.
    I wish to be able to buy x amount of tickets automatically, then pull all the numbers i (from the tickets)

    Sent from my HTC One using Tapatalk 2

  4. #4
    Join Date
    Apr 2005
    Location
    Milton Keynes
    Posts
    725
    Tokens
    2,589
    Habbo
    -Paul.

    Latest Awards:

    Default

    So are you wanting the users to be able to see the different tickets?

  5. #5
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Quote Originally Posted by -paul. View Post
    So are you wanting the users to be able to see the different tickets?
    No, i want to be able to pull them and put them into a db

    Sent from my HTC One using Tapatalk 2

  6. #6
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default

    Quote Originally Posted by GoldenMerc View Post
    No, i want to be able to pull them and put them into a db

    Sent from my HTC One using Tapatalk 2
    There is no such API for the lottery, it would have to be done manually, or make your own to grab the results data from somewhere and store it into the DB.

  7. #7
    Join Date
    Apr 2005
    Location
    Milton Keynes
    Posts
    725
    Tokens
    2,589
    Habbo
    -Paul.

    Latest Awards:

    Default

    Heres one from Techtuts. I seem to remember you are pretty good with your PHP knowledge so might be able to edit it

    http://web.archive.org/web/200703162...p?showtopic=64

    Quote Originally Posted by GoldenMerc View Post
    No, i want to be able to pull them and put them into a db

    Sent from my HTC One using Tapatalk 2

  8. #8
    Join Date
    Oct 2012
    Location
    Nottingham
    Posts
    85
    Tokens
    473
    Habbo
    FlyingPigs!

    Default

    Quote Originally Posted by -paul. View Post
    Heres one from Techtuts. I seem to remember you are pretty good with your PHP knowledge so might be able to edit it

    http://web.archive.org/web/200703162...p?showtopic=64
    That's for your own lottery. I think op wants the national lottery, and don't think it's possible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •