Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 3.85 KB

README.md

File metadata and controls

77 lines (56 loc) · 3.85 KB

LinkedIn


Logo

Clive-Wehbook

The main purpose of this program was to utilize a webhook connection on an online form that has a high amount of traffic on a daily basis.

About The Project

Similar to the previous Clive-Webhook program, but improved the automated saving process by allowing for an hourly pull designated by the user. Also, shortens the main code and implements better error handler for improved troubleshooting.


Getting Started

Follow the instruction below to successfully run the program.

Prerequisities

A Python 3.9.6 environment was used to create and run this program. Since this program mainly uses Pipedream as a hosting source, a Pipedream account will be needed to genereate your webhook link.

All requirements to run the following program can be found in requirements.txt file.

Requirements

  1. Clone/download the repo
    git clone https://github.com/your_username/Project-Name.git
  2. Now that you have the files on your machine, replace all source... and authroization values within the .env file. Your AUTH_KEY value can be found in the settings of your account with Pipedream, without it you will be unable to interact with the webhook link so keep it SAFE. Your specific source keys represent what webhook you would like to access within your Pipedream account. After you create a source and specify webhook as the type, it should be displayed on the page's url and should start with something like "dc_...". Must change the pipedream.py file to represent your designated sources and .env keys.
  3. Finally, execute the main.py file and your program should run after a short period.

The initial pop-up dialog box allows users to input the amount of hours they wish to run the program. Inputting anything other than a number >= 1 will result in an error. To run the program for a sample run, input 1 for a quick enter and exit. To achieve hourly pulls after inputting a number higher than 1, the user must leave their computer running while the program works in the background.

Disclaimer: This program was made SPECIFICALLY for this exact problem. Unless the JSON Snippet metadata genearted for your problem is exactly the same, you must alter most if not all of the code found within the requests.py file.


Logo

Change Log

Version 1.2

  • Fixed packaging issues with python-dotenv

Version 1.1

  • Created a security measure for sensitive information with python-dotenv

Version 1.0

  • Removed dead code
  • Improved reutilization of code
  • Improved error handler boxes to display a more accurate troubleshoot description
  • Automated hourly pulls

Reported/Known Bugs

All reported bugs may be caused from similar instead of seperate instances.

Version 1.1

  • Environment variables can cause the pipedream sources to be unusable during packaging.

Contact

Nickolas Rodriguez | Twitter: @_Nick_Rod_ | Email: Nickolasrodriguez98@gmail.com | GitHub: Nick-prog

Acknowledgements