Coder Social home page Coder Social logo

zalottery's Introduction

ZALotteryPythonProject

  • South African Lottery API:

    • This API was Developed (by Sizwe-se-Afrika Immaculate Mkhonza) using these software stack:

      • Selenium Webdriver (Webpage Content Scrapper),

        • Which scraps; the South African National lottery site https://www.nationallottery.co.za
          • for info on; How to play the games.
          • for info about; latest Draw results, for each game.
          • for info about; past Draw results History, for each game.
      • MongoDB Cluster (for Remote Data Storage),

        • An ability to query and update a remote MongoDB Cluster; for the usage of Data Analysis [work in-progress].
      • Python Default Packages (which offer the following),

        • A primitive ability to randomly pick numbers for each Game; through the 'quick_pick' functionality.
      • MatLibPlot (for Data analysis), [work in-progress]

      • Flask (for hosting, a Web Server Gateway Interface),

        • Game Resource Info; offered by this API include but not limited to these Games:

          • Lotto
            • API url reference '/lotto'
          • Lotto Plus 1
            • API url reference '/lotto_plus_1'
          • Lotto Plus 2
            • API url reference '/lotto_plus_2'
          • Daily Lotto
            • API url reference '/daily_lotto'
          • Powerball
            • API url reference '/powerball'
          • Powerball Plus
            • API url reference '/powerball_plus'
        • API Provides the following; and referenced using the API url as seen from the last description:

          • How to play the games.
            • API url reference suffix '/info'
          • Latest draw results.
            • API url reference suffix '/draw'
          • Previous draw results.
            • API url reference suffix '/history'
          • Update a game; Draw results Cluster
            • API url reference suffix '/draw_update'
          • Update all games; Draw results Cluster
            • API url reference 'all/draw_update'
      • Docker (for Server Integration Implementation), [work in-progress]

      • Git, and Github (for code Version Control System).

  • More functionality, is to be added:

    • Such as a collaborative Cloud Cluster,
      • Where recently played; Game Draw numbers, by our users; can be analysed, and cross referenced with the MongoDB Cluster Data to make a Robust QuickPicker; through usage of Artificial Intelligence such as Machine or Deep Learning. [work in-progress]
  • This API can be executed (for development purposes through Any IDE; or CLI)

    • For Testing purposes; parameters for start_flask_api_server are as follows:

      host="localhost", port=6001, and debug=True.

      Please do not use the same port as the Test port to start_flask_api_server.

    • For more info on how to execute this API; please refer to main.py file.

Disclaimer

I created this repository; just for fun, and to showcase Python usage. "I'd like you to contribute to this repo". Lets add more useful functionality to this repo fork it [work in-progress]...

zalottery's People

Contributors

wastedmynd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.