Giter VIP home page Giter VIP logo

nj-mvc-appointment-helper's Introduction

A minimal version of NJ MVC Appointment Helper

usage: modify the `check_init_permit.py` file.

Please see the orignal repo for more details: https://github.com/tangbao/NJ-MVC-Appointment-Helper

The following is the orignal readme:


NJ MVC Appointment Helper

An UNOFFICIAL Telegram bot that helps you find the most recent available appointment place for you.

If it could help you, please give me a star. Appreciated.

I really hope this COVID-19 pandemic can end soon so that everything can go back to normal. Hope this bot can help you a little.

Stay safe.

Recent Updates

Please always update to the newest version before reporting any bugs.

To receive updates in real time, you can subscribe to Telegram channel @njmvc_bot_notif.

For now, I am working on the persistence of the bot - make everything, including the job queue of the bot persistent after restarting the bot. So please remember to go back and check for updates.

Demo

@njmvc_bot

Note that you can only use /check function of this demo bot. Only authorized users can use /subscribe. I do not make it fully public because I cannot afford too much cloud resources.

You are welcome to contact me to be an authorized user, but there is no warranty to use this bot.

Privacy Disclaimer

The logger of the bot may record your Telegram username and all the messages you send to the bot. Your Telegram user id will be used to verify if you are an authorized user or not. All the data collected by the bot will only be used for debug and will not be used for any analytics or shared/sold to a third party.

If you do not agree with this privacy policy, please do not use the bot, and consider building your own bot.

Privacy disclaimer updated 2021 Jul 28.

Usage

/check Check the most recent available places for appointment.

/subscribe Receive a notification when a more recent time slot is available. Authorized users only. You can have at most three subscriptions.

/mysub Manage your subscriptions.

/help Show the help message.

/updateconfig Update the config so that you do not need to restart the bot. Admin user only.

Examples

/check

/check Part 1

/check Part 2

/subscribe

/subscription Part 1

/subscription Part 2

An example of a running subscription

/subscription Running

/mysub

/mysub

Build Your Own

Use at your own risk. There is NO WARRANTY.

Preparations

Configuration & Deployment

In the current version, the bot is not persistent. It means that everything will lose after you restart the bot. You have to create the subscriptions again.

  • git clone https://github.com/tangbao/NJ-MVC-Appointment-Helper.git
  • [Optional but recommended] Create and activate your virtual env, like Anaconda.
  • pip install -r requirements.txt
  • Check config.yaml if you want some customized settings, like the maximum number of subscriptions a user can create.
  • Make a copy of config.secret.yaml.example, name it as config.secret.yaml, follow the comments inside to finish the config.
  • Run bot.py and start using!

Resources

The bot is using python-telegram-bot, please refer to its documentation for more detailed information about docs, deployment, and so on.

Development Plan (NO GUARANTEE)

  • Make the location list be updated automatically.
  • Make the bot persistent - subscription still exists after the bot restarts.
  • Automatically submit an appointment (I guess I will never do this).

Questions, Bugs, and Contributions

You can open an issue or email me (i AT tbis DOT me) directly. You can also contact me @kirov_dev at Telegram. PR is welcome.

License

The project is published under the GNU General Public License - v3.0.

nj-mvc-appointment-helper's People

Contributors

kaffaljidhmah2 avatar tangbao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.