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
Light weight Scripts and Apps for checking availability of Covid Vaccines in India. Notifies when vaccine becomes avialable in your area.

vaccine-checker Light weight Scripts and Apps for checking availability of Covid Vaccines in India. Notifies when vaccine becomes avialable in your ar

Abishek V Ashok 8 Jun 16, 2021
A slack bot that notifies you when a restaurant is available for orders

Slack Wolt Notifier A Slack bot that notifies you when a Wolt restaurant or venue is available for orders. How does it work? Slack supports bots that

Gil Matok 8 Oct 24, 2022
EC2 that automatically move files received through FTP to S3

ftp-ec2-s3-cf EC2 that automatically move files received through FTP to S3 Installation CloudFormation template Deploy now! Usage IP / domain name: ta

Javier Santana 1 Jun 19, 2021
Open Source Discord bot with many cool features like Weather, Balance, Avatar, User, Server, RP-commands, Gif search, YouTube search, VK post search etc.

Сокобот Дискорд бот с открытым исходным кодом. Содержит в себе экономику, полезные команды (!аватар, !юзер, !сервер и тд.), рп-команды (!обнять, !глад

serverok 2 Jan 16, 2022
A very basic starter bot based on CryptoKKing with a small balance

starterbot A very basic starter bot based on CryptoKKing with a small balance, use at your own risk. I have since upgraded this script significantly a

Danny Kendrick 2 Dec 5, 2021
A Telegram Bot which notifies the user when a vaccine is available on CoWin Platform.

Cowin Vaccine Availability Notifier Telegram Bot A bot that notifies the available vaccines at given district in realtime. Introduction • Requirements

Arham Shah 7 Jul 31, 2021
Webservice that notifies users on Slack when a change in GitLab concern them.

Gitlab Slack Notifier Webservice that notifies users on Slack when a change in GitLab concern them. Setup Slack Create a Slack app, go to "OAuth & Per

Heuritech 2 Nov 4, 2021
A simple Discord bot that notifies users of new Abitti versions

A simple Discord bot that notifies users of new Abitti versions. New features might be added later on. If you have good ideas, feel free to do a PR.

null 1 Feb 11, 2022
A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

Ringo Hoffmann 27 Oct 1, 2022
You can share your Chegg account for answers using this bot with your friends without getting your account blocked/flagged

Chegg-Answer-Bot You can share your Chegg account for answers using this bot with your friends without getting your account blocked/flagged Reuirement

Ammey Saini 27 Dec 24, 2022
A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studying.

Studying RPC Description A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studyin

John Edmerson Pizarra 4 Nov 19, 2022
This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind you to take your umbrella.

RainAlert-Request-Twilio This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind yo

null 9 Apr 15, 2022
❄️ Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them!

TokenCleaner Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them! If you have a very large qua

0xVichy 59 Nov 14, 2022
A project that automatically sends you a Medium article on a topic of your choosing to your email address daily.

Daily Article from Medium ✏️ About A project that automatically sends you a Medium article on a topic of your choosing to your email address daily. No

Orhan Emre Dikicigil 2 Apr 27, 2022
A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

LevPrav 1 Jan 11, 2022
ShadowClone allows you to distribute your long running tasks dynamically across thousands of serverless functions and gives you the results within seconds where it would have taken hours to complete

ShadowClone allows you to distribute your long running tasks dynamically across thousands of serverless functions and gives you the results within seconds where it would have taken hours to complete

null 240 Jan 6, 2023
This code will guide you on how you can make your own Twitter Bot.

This code will guide you on how you can make your own Twitter Bot. This bot retweets, and likes to tweet with a particular word, here Python3.

Kunal Diwan 1 Oct 14, 2022
Bill is a bot capable to Chat with you, search everything on web to you, and send message to yours contacts for you.

Bill Bot The inteligent Bot Bill is a intelligent bot, it can chat, search and send messages to you. Chat with You Send messages on WhatsApp for you S

João Assalim 3 Sep 12, 2021
Quickly and efficiently delete your entire tweet history with the help of your Twitter archive without worrying about the pointless 3200 tweet limit imposed by Twitter.

Twitter Nuke Quickly and efficiently delete your entire tweet history with the help of your Twitter archive without worrying about the puny and pointl

Mayur Bhoi 73 Dec 12, 2022