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 bot to playing music in telegram vcg

Idzeroid Music|| Idzeroid Music adalah sebuah repository music bot telegram untuk memainkan suara di voice chat group anda. Fyi This repo im using for

idzeroid 1 Oct 26, 2021
Bot for automated buying boxes on Binance

V 1.0 Bot for automated buying boxes on Binance В settings.py выставляем свои COOKIE и свой CSRFTOKEN В settings.py для headers выставляем свои параме

Matvey 3 Jan 18, 2022
Proxy server that records responses for UI testing (and other things)

Welcome to playback-proxy 👋 A proxy tool that records communication (requests, websockets) between client and server. This recording can later be use

Yurii 41 Apr 01, 2022
Osmnx-examples - Usage examples, demos, and tutorials for OSMnx.

OSMnx Examples OSMnx is a Python package to work with street networks and other spatial data from OpenStreetMap: retrieve, model, analyze, and visuali

Geoff Boeing 1.2k Jan 03, 2023
A Discord/Xenforo bot!

telathbot A Discord/Xenforo bot! Pre-requisites pyenv (via installer) poetry Docker (with Go version of docker compose enabled) Local development Crea

Telath 4 Mar 09, 2022
A Telegram Bin Checker Bot made with python for check Bin valid or Invalid. 💳

Bin Checker Bot A Telegram Bin Checker Bot made with python for check Bin valid or Invalid. 📌 Deploy On Heroku 🏷 Environment Variables API_ID - Your

Chamindu Denuwan 20 Dec 10, 2022
Discord spam bots with multiple account support and more

Discord spam bots with multiple account support and more. PLEASE READ EVERYTHING BEFORE WRITING AN ISSUE!! Server Messages Text Image Dm Messages Text

Mr. Nobody 6 Sep 14, 2022
Notion API Database Python Implementation

Python Notion Database Notion API Database Python Implementation created only by database from the official Notion API. Installing / Getting started p

minwook 78 Dec 19, 2022
Save data from Instagram takeout to a SQLite database

instagram-to-sqlite Save data from a Instagram takeout to a SQLite database. Mise En Place git clone https://github.com/gavindsouza/instagram-to-sqlit

gavin 8 Dec 13, 2022
📷 An Instagram bot written in Python using Selenium on Google Chrome

📷 An Instagram bot written in Python using Selenium on Google Chrome. It will go through posts in hashtag(s) and like and comment on them.

anniedotexe 47 Dec 19, 2022
Wedding website for July 2022.

Capstone Project: a real wedding website! User Stories A user should be able to signup for the website A user should be able to login to the website i

1 Nov 04, 2021
Simple Translator in Python

Simple Translator in Python Project Description: In this project, we'll be making a very simple translator in Python using some libraries. Requirement

Hassan Shahzad 3 Jan 23, 2022
Automate and Manage Telegram Channels

Channel Automation Bot @ChannelAutomateBot A star ⭐ from you means a lot to us! Telegram bot to automate and manage channels. Usage Deploy to Heroku T

Stark Bots 61 Dec 29, 2022
A Python library for the Discourse API

pydiscourse A Python library for working with Discourse. This is a fork of the original Tindie version. It was forked to include fixes, additional fun

Ben Lopatin 72 Oct 14, 2022
LOL-banner - A discord bot that bans anybody playing league of legends

LOL-banner A discord bot that bans anybody playing league of legends This bot ha

bsd_witch 46 Dec 17, 2022
Using Streamlit to build a simple UI on top of the OpenSea API

OpenSea API Explorer Using Streamlit to build a simple UI on top of the OpenSea API. 🤝 Contributing Contributions, issues and feature requests are we

Gavin Capriola 1 Jan 04, 2022
Jika ada pertanyaan lebih lanjut, hubungi kontak dibawah ini. Terimakasih...

⚡ Lynx Userbot ⚡ Userbot Used for Fun on Telegram, and for Maintianing Your Group. This is a Repo Lynx-Userbot. This is Repo was Created by Axel From

29 Aug 30, 2021
A fast and expressive Craigslist API wrapper

pycraigslist A fast and expressive Craigslist API wrapper. ⚠ As of September 2021, it is believed that Craigslist added a rate-limiter. It is advised

Ira Horecka 24 Dec 28, 2022
Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.

Modern, privacy-friendly, and cookie-free web analytics. Getting started » Screenshots • Features • Office Hours Motivation There are a lot of web ana

R. Miles McCain 2.1k Jan 03, 2023
A qq bot based on nonebot2 and go-cqhttp

Asoul-bot A qq bot based on nonebot and go-cqhttp 你可以将bot部署在本地,也可以加入bot测试群:784280070(全体禁言) 你可以通过临时会话的方式向bot发送指令,输入help获取帮助菜单 本地部署请参考:https://zhuanlan.

11 Sep 23, 2022