Watches your earnings on EarnApp and notifies you when you earned balance or received an payout.

Overview

EarnApp-Earning-Monitor

Watches your earnings on EarnApp and notifies you when you earned balance or received an payout.

zmX0s0RozyN5IjdcDMrw3sfTy wueUME2JVYzlP4iyfXFtJiaAH

Installation

  • Install Python3
  • Download this repo.
  • Unzip and put in directory
  • Install Dependencys
    • pip3 install requests
    • pip3 install discord_webhook
  • Open config.py
    AUTH = '' # Google Auth Cookie
    Delay = 300 # Interval to check balance in seconds
    WebhookURL = '' # Discord Webhook URL
  • Run python3 main.py

How to get Google Auth

  1. Go to the EarnApp Dashboard

  2. Login with Google

  3. Open Developer tools with CTR+SHIFT+I

    • Goto Network TAB

    qATMniDchDUWiR9Y1LQGimLOQ

    • Refresh Page
    • After you refreshed the Page you will see something like this

    Q0VrgDlLf14kM4v59WmKFoUZq

    • Click where the Name equals https://earnapp.com/dashboard/api/money?appid=earnapp_dashboard
    • Scroll down a bit until you see cookies
    • Copy the AUTH after oauth-refresh-token=

    bpR8BPGRpf3cqRkT004Ejywmj

  4. Your done :)

Remember

  • This does not use an official API from earnapp so bugs may occur

Credits

Comments
  • Bots online/offline

    Bots online/offline

    Hello.

    First of all congratulations and thank you for the work done.

    Is it possible to add online/offline bots in hourly updates?

    You are earning with 49/49 Devices 45 onlines / 4 offlines

    I don't know if the API can detect bots offline, but a notification as soon as a bot stops responding in order to be able to see the problem more quickly.

    Thank you in advance.

    opened by nestyxx 15
  • Doesn't receive hourly notifications

    Doesn't receive hourly notifications

    Hi, Since version 2.2.0.2, I don't receive the hourly update notifications. The app start, send the test notification successfully and nothing else is send.

    Screenshot_2022-03-06-11-21-18-636_com sonelli juicessh~4

    Screenshot_2022-03-06-11-31-50-110_com discord~3

    Note : I use the ARM64 docker version on a RPi4 on Ubuntu desktop 21.10, with the default docker-compose file.

    opened by Izanagi52 8
  • Division by zero error

    Division by zero error

    Traceback (most recent call last):
      File "/app/./main.py", line 203, in <module>
        main()
      File "/app/./main.py", line 178, in main
        webhook_templates.balance_update(info)
      File "/app/webhooks.py", line 139, in balance_update
        moneyPercentage = "{0:+.2f}%".format((info.earnings_info.balance/info.previous_balance)*100.0 - 100)
    ZeroDivisionError: float division by zero
    

    @Yariya I'll fix it in a while if I can. In the meanwhile, if you are free, give it a go.

    bug 
    opened by fazalfarhan01 7
  • New Error

    New Error

    image There was an error that happened after installing the new updates. I don't know if this an error with my account or a new error caused with the new code. I am running Windows 11 Dev Channel.

    opened by Megalaoofania 5
  • EOFError: EOF when reading a line

    EOFError: EOF when reading a line

    Suspect that the way this is being placed on a new line is breaking the setup: https://github.com/Yariya/EarnApp-Earning-Monitor/blob/939bd667d38ccafce79ba0c1633bbaa69f7dd2b1/app/config.py#L35-L36

    Causing this error

    	[i] If you don't want to use this feature just put 0 here else put the belance that has to be exceeted here [>2.5]
    Traceback (most recent call last):
      File "/app/./main.py", line 26, in <module>
        config = Configuration()
      File "/app/config.py", line 20, in __init__
        self.ask_config()
      File "/app/config.py", line 35, in ask_config
        self.AUTOMATIC_REDEEM = (input("Do you want to use automatic redeeming?\n\t[i] This helps getting your "
    EOFError: EOF when reading a line
    
    opened by linax101 2
  • TypeError

    TypeError

    I keep getting this error:

            [βœ“] You are on the latest version.
    Traceback (most recent call last):
      File "/home/pi/EarnApp-Earning-Monitor/app/main.py", line 120, in <module>
        main()
      File "/home/pi/EarnApp-Earning-Monitor/app/main.py", line 42, in main
        info = AllInformation(config.WEBHOOK_URL, api, graphics)
      File "/home/pi/EarnApp-Earning-Monitor/app/functions.py", line 16, in __init__
        self.get_info()
      File "/home/pi/EarnApp-Earning-Monitor/app/functions.py", line 22, in get_info
        self.devices_info = self.api.get_devices_info()
      File "/home/pi/.local/lib/python3.9/site-packages/pyEarnapp/earnapp.py", line 60, in get_devices_info
        return DevicesInfo(json.loads(response.content), self.report_ip_ban)
      File "/home/pi/.local/lib/python3.9/site-packages/pyEarnapp/models/device.py", line 55, in __init__
        self.total_bandwidth_usage += device.bandwidth_usage
    TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
    You can safely exit this
    
    opened by walkxcode 2
  • Works on Raspberry Pi ?

    Works on Raspberry Pi ?

    Hi! Thanks for this. It runs on the computer and Python. Now I don't want to leave the computer on all the time. I have two RaspberryPi in continuous operation. And wanted to ask if it is possible to run the whole thing there? If yes, how do I do that? Thank you for your time.

    opened by gurkentopf 1
  • API Error

    API Error

      File "C:/EarnApp-Earning-Monitor/app/main.py", line 6, in <module>
        from webhooks import WebhookTemplate
      File "C:\EarnApp-Earning-Monitor\app\webhooks.py", line 5, in <module>
        from pyEarnapp.earnapp import DevicesInfo, Transaction, EarningInfo, UserData
      File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\__init__.py", line 1, in <module>
        from .earnapp import EarnApp, Device, Transaction, RedeemDetails, Referee
      File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\earnapp.py", line 7, in <module>
        from .models.transactions import *
      File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\models\transactions.py", line 48, in <module>
        class Transactions:
      File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\models\transactions.py", line 63, in Transactions
        def get_transactions(self)->list[Transaction]:
    TypeError: 'type' object is not subscriptable
    
    bug 
    opened by Yariya 1
  • Earnapp API change for device status - breaking change

    Earnapp API change for device status - breaking change

    Earnapp Monitor can no longer pull in device online/offline status because today earnapp changed their api to accept a list of uuid instead of their usual uuid, appid format.

    See the new json on a new request call for device status

    {"list":["sdk-win-5d626b9c8723fc44a","sdk-win-0108a8feb9eba043a6d0,"sdk-win-a5aa15a1b1d1e746a88d00","sdk-win-6cc913f5218e0a46b5bc"]}
    
    opened by linax101 1
  • Add interval

    Add interval

    This adds an interval so you can choose if you want it to run once an hour or once a day (default: once an hour). Also uses the pause package instead of checking every 10 seconds so it is more efficient.

    Closes #47

    opened by Tiebe 0
Releases(v2.2.0.3)
  • v2.2.0.3(May 13, 2022)

  • v2.2.0.2(Mar 4, 2022)

  • v2.1.7.4(Jan 6, 2022)

  • v2.1.7.3(Jan 4, 2022)

  • v2.1.7.2(Dec 19, 2021)

  • v2.1.7.1(Dec 4, 2021)

  • v2.1.7(Dec 1, 2021)

  • v2.1.6(Nov 26, 2021)

  • v2.1.5(Nov 23, 2021)

  • v2.1.4(Nov 21, 2021)

    What's Changed

    • Linux Release (for amd64 machines). See below for Linux instructions.
    • Fixed negative balance
    • Fixed negative bandwidth
    • Merged total referral earning with total earning
    • Hourly average price/GB ($/GB) image
    • Bugs? You can report it right from discord. image

    What's NOT Changed

    Windows defender still detects a false positive. Reason: The costs and work needed for signing the executable is high. πŸ€‘

    Run Linux Image

    1. Download and save it somewhere.
    2. chmod a+x EarnApp-Earning-Monitor-amd64
    3. ./EarnApp-Earning-Monitor-amd64

    Full Changelog: https://github.com/Yariya/EarnApp-Earning-Monitor/compare/v2.1.3...v2.1.4

    Source code(tar.gz)
    Source code(zip)
    EarnApp-Earning-Monitor-amd64(7.58 MB)
    EarnApp-Earning-Monitor.exe(7.14 MB)
  • v2.1.3(Nov 20, 2021)

  • v2.1.2(Nov 19, 2021)

    What's NOT Changed

    Windows defender still detects a false positive. Reason: ~~I don't know how to sign an executable. πŸ˜…~~ The costs and work needed for signing the executable is high. $_$

    What's Changed

    • Prompt to use existing configuration.
    • New embed for new transactions.
    • Shows version info on launch
    • Adding exit handling by @fazalfarhan01 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/19
    • Update webhooks.py by @Ner0ox in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/20
    • for linux servers by @Ner0ox in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/22
    • Create start.sh by @Ner0ox in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/21

    New Contributors

    • @Ner0ox made their first contribution in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/20

    Full Changelog: https://github.com/Yariya/EarnApp-Earning-Monitor/compare/v2.1...v2.1.2

    Source code(tar.gz)
    Source code(zip)
    EarnApp-Earning-Monitor.exe(7.14 MB)
  • v2.1(Nov 18, 2021)

    EarnApp Earning Monitor

    • Version: 2.1

    Windows defender detects a false positive.

    Reason: I don't know how to sign an executable. πŸ˜…

    What's Changed

    • fixed typo ;) by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/1
    • Fix grammar by @Woodie-07 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/2
    • fixed the readme by @merwie in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/3
    • added Current Balance to discord embed field by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/5
    • changed paypal logo because the old one doesn't look good on discord'… by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/6
    • fix grammar by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/4
    • fixed caps by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/7
    • fixed caps by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/8
    • Adding Dockerfile by @fazalfarhan01 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/9
    • Common code base by @fazalfarhan01 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/10
    • 'total_earnings' >> 'earnings_total' by @fazalfarhan01 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/12
    • New Release by @fazalfarhan01 in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/16
    • Update README.md by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/15
    • updated docs by @ItzDatMC in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/18

    New Contributors

    • @ItzDatMC made their first contribution in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/1
    • @Woodie-07 made their first contribution in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/2
    • @merwie made their first contribution in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/3
    • @fazalfarhan01 made their first contribution in https://github.com/Yariya/EarnApp-Earning-Monitor/pull/9

    Full Changelog: https://github.com/Yariya/EarnApp-Earning-Monitor/commits/v2.1

    Source code(tar.gz)
    Source code(zip)
    EarnApp-Earning-Monitor.exe(7.14 MB)
Owner
Yariya
Matt | Malware Researcher | Networking
Yariya
Telegram bot which has truecaller and smsbomber features

Truecaller-telegram_bot Add your telegram bot api key in main.py and you are good to go To get a api key Goto telegram and search BotFather From the c

Rudranag 32 Dec 05, 2022
Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy

Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy. Sell buyed token with custom gas fee, slippage, amount. And more.

Jesus Crypto 206 May 01, 2022
Source code of u/pekofy_bot from reddit.

pekofy-bot Source code of u/pekofy_bot from reddit. Get more info about the bot here: https://www.reddit.com/user/pekofy_bot/comments/krxxol/pekofy_bo

32 Dec 25, 2022
Infinity: a Twitter retweet bot that can be used by anyone

INSTAMATE Requires Firefox Instapy Python3 How To Use? Fork the repository Add your credentials in the bot.py file Save commits Clone your fork cd int

unofficialdxnny 3 Jun 23, 2022
Modified Version Of Media Search bot

Modified Version Of Media Search bot

1 Oct 09, 2021
A part of HyRiver software stack for accessing hydrology data through web services

Package Description Status PyNHD Navigate and subset NHDPlus (MR and HR) using web services Py3DEP Access topographic data through National Map's 3DEP

Taher Chegini 51 Dec 10, 2022
An API wrapper for Henrik's Unofficial VALORANT API

ValorantAPI.py An API wrapper for Henrik's Unofficial VALORANT API Warning!! This project is still in beta and only contains barely anything yet. If y

Jakkaphat Chalermphanaphan 0 Feb 04, 2022
A Telegram Bot That Can Find Lyrics Of Song

Lyrics-Search-Bot A Telegram Bot That Can Find Lyrics Of Song A Simple Telegram Bot That Can Extract Lyrics Of Any Songs Deploy Commands start - To St

Muhammed Fazin 11 Oct 21, 2022
Listen to the radio station from your favorite broadcast

Latest news Listen to the radio station from your favorite broadcast MyCroft Radio Skill for testing and copy at docker skill About Play regional radi

1 Dec 22, 2021
Automatically download any NFT collection from OpenSea.

OpenSea NFT Stealer The sole purpose of this script is to download any NFT collection from OpenSea. How does it work? Basically, the OpenSea website a

Dan 111 Dec 29, 2022
A tool for extracting plain text from Wikipedia dumps

WikiExtractor WikiExtractor.py is a Python script that extracts and cleans text from a Wikipedia database dump. The tool is written in Python and requ

Giuseppe Attardi 3.2k Dec 31, 2022
πŸ€– Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram.

πŸ€– Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram.

Fariz 2 Nov 13, 2021
The Github repository for the Amari API wrapper.

Amari.py Amari.py is an async, easy to use API wrapper for the AmariBot. Installation Enter any of these commands to install the library: pip install

TheF1ng3r 5 Dec 19, 2022
WhatsApp Multi Device Client

WhatsApp Multi Device Client

23 Nov 18, 2022
πŸ“¦ Opensource Python wrapper for Hiven's REST and WebSocket API

hiven.py πŸ“¦ Opensource Python wrapper for Hiven's REST and WebSocket API Installation pip install -U hiven.py Usage hiven.py is currently under devel

Kevin Thomas 3 Sep 03, 2021
May or may not be work🚢

AnyDLBot There are multiple things I can do: πŸ‘‰ All Supported Video Formats of https://rg3.github.io/youtube-dl/supportedsites.html πŸ‘‰ Upload as file

Arun 2 Nov 16, 2021
qualysclient - a python SDK for interacting with the Qualys API

qualysclient - a python SDK for interacting with the Qualys API

5 Oct 28, 2022
Twitch Points Miner for multiple accounts with Discord logging

Twitch Points Miner for multiple accounts with Discord logging Creator of the Twitch Miner -- PLEASE NOTE THIS IS PROBABLY BANNABLE -- Made on python

8 Apr 27, 2022
Make WhatsApp ChatBot and use WhatsApp API to send the WhatsApp messages in python .

Ultramsg.com WhatsApp Bot using WhatsApp API and ultramsg Demo WhatsApp API ChatBot using Ultramsg API with python. Opportunities and tasks: The outpu

Ultramsg 64 Dec 29, 2022
This is a bot which you can use in telegram to spam without flooding and enjoy being in the leaderboard

Telegram-Count-spamming-Bot This is a bot which you can use in telegram to spam without flooding and enjoy being in the leaderboard You can avoid the

Lalan Kumar 1 Oct 23, 2021