Skip to content

Price & Stock tracking telegram bot deployable on Google App Script (GAS) for Amazon & Flipkart

License

Notifications You must be signed in to change notification settings

dvishal485/price-tracker-bot

Repository files navigation

price-tracker-bot

Price & Stock tracking telegram bot deployable on Google Apps Script (GAS) for Amazon & Flipkart


Introduction

Source code for @flipkartX_bot

This can be deployed using Google Apps Script (GAS)

The project uses 3-page spreadsheet to keep a record of all products it is tracking and trackes them in a phased manner to avoid runtime errors and track everything effectively.


How to deploy

Deploy project on GAS by the following steps :

  • Open Google Apps Script (GAS) and create a 'New Project'.
  • In the default Code.gs file copy the code contents from Code.js script given in repo.
  • Create a Google Spreadsheet and ensure it have three sheets in it, copy it's sheet id as you will be needing it for your environment variable.
  • In this file configure your environment variables ( such as botToken , botName, ... )
  • Tap on + along side the files to add a new file and copy-paste all the files one-by-one with any name of your choice easier for maintainence.
  • After copying the whole script, tap Deploy menu and select option to create a new deployment.
  • Select the type of deployment as Web App and choose Anyone in the Who has access dropdown menu.
  • Deploy and copy the script url and set it as your bot's webhook ( you may do it manually or use the setWebhook.js script from your GAS by modifying variable script )
  • All set! Your bot is ready to use.

License & Copyright

About

Price & Stock tracking telegram bot deployable on Google App Script (GAS) for Amazon & Flipkart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published