A python notification tool used for sending you text messages when certain conditions are met in the game, Neptune's Pride.

Overview

Neptune's Pride Notifications

NP Notifications is a python notification tool used for sending you text messages when certain conditions are met. Initially, the main condition is if a new, moving, enemy fleet has entered your scanning range.

Installation

Firstly, get your username, password, your user ID, game ID (url), and game API key from your Neptune's Pride game. Next, you will need to create a Firebase account with Firestore. There must exist a "fleets" table in this database. Next, you will need to create a Twilio account in order send text messages.

Use the package manager pip3 to install the requirements.

pip3 install -r requirements.txt

Create a .env file with the following fields:

USERNAME=np_username
PASSWORD=np_password

CURRENT_GAME_ID=game_id
API_VERSION=0.1
API_KEY=api_key

TWILIO_AUTH=twilio_auth
TWILIO_SID=twilio_sid
TWILIO_PH=given_twilio_phone_number
NOTIF_PH=your_phone_number

Usage

You can run this locally by uncommenting the debug statements in main.py. This will allow flask to run and setup the webserver. The check.py file handles all checks. So running the begin_check() function there will scan your area and text you if a ship is approaching and your .env is setup correctly.

In order to get this to run constantly, I highly recommending uploading the project to a Google Cloud Platform App Engine instance. Make sure that the Google Cloud Scheduling system is enabled for this to constantly update you. To change the custom check time, check cron.yaml

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

You might also like...
😈  Discord RAGE is a Python tool that allows you to automatically spam messages in Discord
😈 Discord RAGE is a Python tool that allows you to automatically spam messages in Discord

😈 Discord RAGE Python tool that allows you to automatically spam messages in Discord 🏹 Setup Make sure you have Python installed and PIP is added to

Simple Reddit bot that replies to comments containing a certain word.

reddit-replier-bot Small comment reply bot based on PRAW. This script will scan the comments of a subreddit as they come in and look for a trigger wor

Plays air warning sound when detects a certain phrase or a word in a specified Telegram chat.

Tryvoha Bot Disclaimer: this is more a convenient naming, rather than a real bot. It is designed to play air warning sound when detects a certain phra

Notification Reminder Application For Python
Notification Reminder Application For Python

Notification-Reminder-Application No matter how well you set up your to-do list and calendar, you aren’t going to get things done unless you have a re

python based bot Sends notification to your telegram whenever a new video is released on a youtube channel!

YTnotifier python based bot Sends notification to your telegram whenever a new video is released on a youtube channel! REQUIREMENTS telethon python-de

Lambda-function - Python codes that allow notification of changes made to some services using the AWS Lambda Function
Lambda-function - Python codes that allow notification of changes made to some services using the AWS Lambda Function

AWS Lambda Function This repository contains python codes that allow notificatio

Benachrichtigungs-Bot für das niedersächische Impfportal / Notification bot for the lower saxony vaccination portal

Ein kleines Wochenend-Projekt von mir. Der Bot überwacht die REST-API des niedersächsischen Impfportals auf freie Impfslots und sendet eine Benachrichtigung mit deinem bevorzugtem Service. Ab da gilt leider: der Schnellste gewinnt. Bitte missbraucht den Bot nicht und verwendet moderate Intervalle.

Send notification to your telegram group/channel/private whenever a new video is uploaded on a youtube channel!

YouTube Feeds Bot. Send notification to your telegram group/channel/private whenever a new video is uploaded on a youtube channel! Variables BOT_TOKEN

Monitor robot of Apple Store's products, using DingTalk notification.
Monitor robot of Apple Store's products, using DingTalk notification.

概述 本项目应用主要用来监测Apple Store线下直营店货源情况,主要使用Python实现。 首先感谢iPhone-Pickup-Monitor项目带来的灵感,同时有些实现也直接使用了该项目的一些代码。 本项目在iPhone-Pickup-Monitor原有功能的基础上去掉了声音通知,但添加了多

Comments
  • Enemy Fleet Notification Bug

    Enemy Fleet Notification Bug

    Every so often, the program will keep alerting you to a fleet it already has alerted you to. This is the same fleet with the same uid. It moves along the same direction to and hasn't reached a star yet. Probably worth redesigning the entire system and probably sketching out the DB calls.

    bug 
    opened by peclarke 0
  • Alliance Network Information Endpoint

    Alliance Network Information Endpoint

    Create an endpoint where alliance members can view the net alliance data:

    • A visualisation of where everyone's ships are and what ships can be seen
    • Some level of alliance communication?
    • Authenticated access
    opened by peclarke 0
Owner
Paul Clarke
3rd-year Computer Science student at the University of Queensland. Passionate about front-end web dev technologies.
Paul Clarke
A Discord bot that rewards players in Minecraft for sending messages on Discord

MCRewards-Discord-Bot A Discord bot that rewards players in Minecraft for sending messages on Discord How to setup: Download this git as a .zip, or cl

null 3 Dec 26, 2021
DISCORD script to automate sending messages to a particular server

discord discord script This script sends random quotes to an discord server and tags random users on the server in the process MADE WITH LOVE BY SACS

Solomon ogu 1 Nov 6, 2021
Force-Subscribe-Bot - A Telegram Bot to force users to join a specific channel before sending messages in a group

Introduction A Telegram Bot to force users to join a specific channel before sen

LG Bot Updates 0 Jan 16, 2022
Automatically copy the Discord Status of a Friend you share a server with (conditions have to be satisfied to work)

CopyDiscordStatusOfUser-SelfBot Basic Function Automatically copy the Discord Status of a friend User whom you share a server with (These conditions h

Certified Baller 5 Aug 5, 2022
A simple bot that lives in your Telegram group, logging messages to a Postgresql database and serving statistical tables and plots to users as Telegram messages.

telegram-stats-bot Telegram-stats-bot is a simple bot that lives in your Telegram group, logging messages to a Postgresql database and serving statist

null 22 Dec 26, 2022
A bot can be used to broadcast your messages ( Text & Media ) to the Subscribers

Broadcast Bot A Telegram bot to send messages and medias to the subscribers directly through bot. Authorized users of the bot can send messages (Texts

Shabin-k 8 Oct 21, 2022
An Amazon Price Tracker app helps you to buy which product you want within sale price by sending an E-Mail.

Amazon Price Tracker An Amazon Price Tracker app helps you to buy which product you want within sale price by sending an E-Mail. Installing Download t

Aytaç Kaşoğlu 2 Feb 10, 2022
Texting service to receive current air quality conditions and maps, powered by AirNow, Twilio, and AWS

The Air Quality Bot is generally available by texting a zip code (and optionally the word "map") to (415) 212-4229. The bot will respond with the late

Alex Laird 8 Oct 16, 2022
Discord Bot that can translate your text, count and reply to your messages with a personalised text

Discord Bot that can translate your text, count and reply to your messages with a personalised text

Grizz 2 Jan 26, 2022
Send SMS text messages via email with as many accounts as you want :)

SMS-Spammer Send SMS text messages via email with as many accounts as you want :) Example Set Up Guide! To start log into the gmail account you would

Riceblades11 10 Oct 25, 2022