Giter VIP home page Giter VIP logo

eneo_bill's Introduction

ENEO-BILL

An implementation of a Bot that will fetch available bills on eneocameroon website and use kraken to buy them !

DEMO

Requirements

  • Python (3.x recommended)
  • pip3

How to install

  • App tree
.
├── app
│   ├── main.py
│   ├── settings.py
│   └── utils.py
├── example.config.txt
├── images
│   ├── demo.gif
│   └── logo.png
├── README.md
└── requirements.txt
  • Rename the example.config.txt to config.txt and put valid/good credentials !
[eneo-config]
USERNAME = 6999999 # This is your username on the website
PASSWORD = -------- # this is your password on the webSite
LOGIN_URl = https://my.eneocameroon.cm/login
  • Hit this command to install all :
pip3 install -r requirements.txt

How to launch

  • To launch hit this command :
python3 -m app.main
  • Expected output :
 _____ _   _ _____ ___        ____ ___ _     _     ____   
| ____| \ | | ____/ _ \      | __ )_ _| |   | |   / ___|  
|  _| |  \| |  _|| | | |_____|  _ \| || |   | |   \___ \  
| |___| |\  | |__| |_| |_____| |_) | || |___| |___ ___) | 
|_____|_| \_|_____\___/      |____/___|_____|_____|____/  v0.1 
 - - - - - - - - - - - - -  - - - - - - - -- - - - - - - - - -
[+] ENEO-BILL started!
[+] Connecting to eneocameroon
[+] Fetching token..
[+] _token:  QVQWdFkL3slSpau9yl57GcXWAmaabaXYjMXeNlwg
[+] Perform the Login...
[+] Login successfully !
[+] Fetching bills on :  https://my.eneocameroon.cm/
[+] List of bills :
[+] Date, N° Reçu, Montant payé, Mode, Agence, N° Facture, Mois, Montant facturé
[+] -
[+] 20-03-2020, 5799140, 1250, CASH, ORANGE, CASH, Mar-2020, 1250, Reçu, 
----------------------------------------------------------------------
[+] 17-02-2020, 5799140, 750, CASH, ORANGE, CASH, Feb-2020, 750, Reçu, 
----------------------------------------------------------------------
......
........ 
----------------------------------------------------------------------
[+] -
[+] Bills saved in  eneo_bills_2020-03-29 16:12:57.872790.txt

Author

  • Sanix-darker

eneo_bill's People

Contributors

dependabot[bot] avatar sanix-darker avatar simo97 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.