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
A multipurpose Telegram Bot writen in Python for mirroring files

Deepak Clouds Mirror Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google D

MR.SHAGGY 0 Dec 19, 2021
Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

Richard Kolkovich 904 Jan 02, 2023
This repository contains ready to deploy automations on AWS

aws-automation-plugins This repository contains ready to deploy automations on AWS. How-To All projects in this repository contain a deploy.sh file wh

Akesh Patil 8 Sep 20, 2022
Kanata Bot - a modular bot running on python3 with anime theme and have a lot features

Kanata Bot Kanata Bot is a modular bot running on python3 with anime theme and have a lot features. Easiest Way To Deploy On Heroku This Bot is Create

Rikka-Chan 2 Jan 16, 2022
This repository will (hopefully) always contain the latest version of the libProfessorP.asm.so shared object.

libPuhfessorP - Deploy Repo This repo should (hopefully) always contain the latest version of the libPuhfessorP.asm.so shared object, to be linked wit

Puhfessor P - CPSC 240 3 Sep 30, 2021
Cogs for Red-DiscordBot

Redbot cogs for Red-DiscordBot authored by Kreusada This is my repository for Red Discord-Bot. I built these cogs because these were the features that

Kreus Amredes 26 Nov 07, 2022
See GitHub API on terminal

gitbees About gitbees uses the GitHub API to show user data and ``repos` Using Make sure you have a python interpreter and then python gitbees.py Lice

Marcello Belanda 1 Nov 29, 2021
Набор утилит для Discord с использованием языка программирования Python.

Discord Tools v0.1 Functions: WebHook spamer Spotify account generator (What?) QR Code Token stealer Token generator Discord nitro gen/check Discor to

Максим Скризов 3 Aug 23, 2022
Surfline Forecast Bot For Python

Surfline Forecast Bot A telegram bot created using Telethon that allows users to

1 May 08, 2022
quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.

About quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.

Max Humber 11 Nov 10, 2022
Discord.py(disnake) selfbot

Zzee selfbot Discord.py selfbot Version: 1.0 ATTENTION! we are not responsible for your discord account! this program violates the ToS discord rules!

1 Jan 10, 2022
Instadev - Crack Instagram IqbalDev

Crack Instagram IqbalDev ⇨ Install Script Di Termux $ pkg update && upgrade $

Dicky Wahyudi 1 Feb 27, 2022
A small module to communicate with Triller's API

A small, UNOFFICIAL module to communicate with Triller's API. I plan to add more features/methods in the future.

A3R0 1 Nov 01, 2022
Aio-binance-library - Async library for connecting to the Binance API on Python

aio-binance-library Async library for connecting to the Binance API on Python Th

GRinvest 10 Nov 21, 2022
A telegram bot which can show you the status of telegram bot

BotStatus-Ts-Bot An open source telegram Bot Status bot For demo you can check here The status is updated in every 1 hour About Bot This is a Bot stat

Ts_Bots 8 Nov 17, 2022
A Bot To Find Telegram User ID Easily

Telegram ID Bot 🤖 A Bot To Find Telegram User ID Easily Made with Python3 (C) @BXBotz Copyright permission under MIT License License - https://githu

MuFaz-TG 6 Nov 21, 2022
A discord.py code generator program. Compatible with both linux and windows.

Astro-Cord A discord.py code generator program. Compatible with both linux and windows. About This is a program made to make discord.py bot developmen

Astro Inc. 2 Dec 23, 2021
ignorant allows you to check if a phone number is used on different sites like snapchat, instagram.

Ignorant For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ ignorant does not alert the target phone number ignorant allows you to check if a phon

Palenath 513 Dec 31, 2022
Anime Themed Telegram Group Manager Bot By WaifuNetwork

🤍 Yukino Yukinoshita 🤍 #This Is The OLD version Of Yukino Bot New Version Of Yukino Yukinoshita is private. Thanks to everyone who starred Yukino, T

TR0J3N 4 Jan 10, 2022
HelpDESK Dynamics

Helpdesk Application The project is a Helpdesk application (Helpdesk dynamics) where staff of an organization can raise and assign job/trouble tickets

Okeoma Ihunwo 0 Nov 14, 2021