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
Utilizing the freqtrade high-frequency cryptocurrency trading framework to build and optimize trading strategies. The bot runs nonstop on a Rasberry Pi.

Freqtrade Strategy Repository Please test all scripts and dry run them before using them in live mode Contact me on discord if you have any questions!

Michael Fourie 90 Jan 01, 2023
WaifuGen - A program made in waifuGen that generates SFW and NSFW waifus from the waifu.pics API

waifuGen A program made in waifuGen that generates SFW and NSFW waifus from the

1 Jan 05, 2022
An script where it logs in your instagram account and follows people and likes their posts

InstaFollower An script where it logs in your instagram account and follows people and likes their posts (uses the tags to fetch people) Requirements:

Bless 3 Nov 29, 2022
Automating whatsapp with python

whatsapp-automation Automating whatsapp with python used on this project pyautogui pywhatkit pyttsx3 SpeechRecognition colorama embedded in python tim

Miguel 60 Nov 21, 2022
Automate saving your Discover Weekly Playlist using Python.

SpotWeekly Automate saving your Discover Weekly Playlist using Python. Made with 3 and FastAPI. The saved playlist link is sent to my discord server

shourya 6 Jan 03, 2022
🎵 RythmReloaded 🎵 A bot that can play music on Telegram Group and Channel Voice Chats

🎵 RythmReloaded 🎵 A bot that can play music on Telegram Group and Channel Voice Chats POWERED BY MARSHALX TGCALLS Available on telegram as @OptimusP

0 Nov 03, 2021
TORNADO CASH Proxy Pancakeswap Sniper BOT 2022-V1 (MAC WINDOWS ANDROID LINUX)

TORNADO CASH Pancakeswap Sniper BOT 2022-V1 (MAC WINDOWS ANDROID LINUX) ⭐️ A ful

Crypto Trader 1 Jan 06, 2022
Useful tools for building interactions in Python

discord-interactions-python Types and helper functions for Discord Interactions webhooks. Installation Available via pypi: pip install discord-interac

Discord 77 Dec 07, 2022
A Python library wrapping the iFixit (Dozuki) API.

A Python library wrapping the iFixit API. Status Working, but incomplete. Fully tested and documented. Hacking I highly recommend using virtualenv: [$

James Pearson Hughes 13 May 24, 2021
Ulaavi for nuke, helps to keep our stocl elements organised.

Ulaavi Ulaavi for nuke, helps to keep our stock elements organised. Installation Downlaod ffmpeg from ffmpeg.org linux : https://johnvansickle.com/ffm

Arun Subramaniyam 17 Aug 24, 2022
A powerfull Zee5 Downloader Bot With Permeneant Thumbnail Support 💯 With Love From NexonHex

Zᴇᴇ5 DL A ᴘᴏᴡᴇʀғᴜʟʟ Zᴇᴇ5 Dᴏᴡɴʟᴏᴀᴅᴇʀ Bᴏᴛ Wɪᴛʜ Pᴇʀᴍᴇɴᴇᴀɴᴛ Tʜᴜᴍʙɴᴀɪʟ Sᴜᴘᴘᴏʀᴛ 💯 Wɪᴛʜ Lᴏᴠᴇ Fʀᴏᴍ NᴇxᴏɴHᴇx Wʜᴀᴛ Cᴀɴ I Dᴏ ? • ɪ ᴄᴀɴ Uᴘʟᴏᴀᴅ ᴀs ғɪʟᴇ/ᴠɪᴅᴇᴏ ғʀᴏᴍ

Psycharmers 4 Jan 19, 2022
Scanner and Checker for Binance Scam Contracts

Money Printer by Warranty Voider well this isnt exactly a printer, but it helps you find and check new token startups. In the end its a nice scam cont

12 Nov 24, 2022
Telegram bot for Whisper Message.

Whisper Bot @WhisperStarkBot A star ⭐ from you means a lot to us! Telegram bot for Whisper Message. Usage Deploy to Heroku Tap on above button and fil

Stark Bots 33 Nov 24, 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
Python implementation for PetitPotam

PetitPotam Coerce NTLM authentication from Windows hosts Installtion $ pip3 install impacket Usage usage: petitpotam.py [-h] [-debug] [-port [destinat

Oliver Lyak 137 Dec 28, 2022
With Google Drive API. My computer and my phone are in love now.

Channel trought Google Drive Google Drive API In this case, "Google Drive App" is the program. To install everything you need(has some extra things),

Luis Quiñones Requelme 1 Dec 15, 2021
A crashbot for Discord

Description A Effective crash bot code How to use Setup First, we need to install the library: pip install discord or (for linux users): pip3 install

3 Sep 17, 2021
One of the best Telegram renamer bot with many new features

Renamer-Bot I think this repo gonna become one of the best renamer open source 🥰 . Please Give a ⭐ if you like this repo and also try following me fo

Ns Bots 97 Jan 06, 2023
This is a python wrapper for "the best api in the world"

This is a python wrapper for my api api_url = "https://api.dhravya.me/" This wrapper now has async support, its basically the same except it uses asyn

Dhravya Shah 3 Dec 21, 2021
✖️ Unofficial API of 1337x.to

✖️ Unofficial Python API Wrapper of 1337x This is the unofficial API of 1337x. It supports all proxies of 1337x and almost all functions of 1337x. You

Hemanta Pokharel 71 Dec 26, 2022