samirsalman / AmazonOffers-TelegramBot

This project is a Telegram Bot connected to a Telegram Channel that checks Amazon offers and send them to your Channel.
137 stars 46 forks source link

Problema #35

Open DotHack88 opened 1 year ago

DotHack88 commented 1 year ago

Salve, vorrei chiedere il vostro aiuto. Ho scaricato il tutto eseguo il comando "sudo bash script.sh" ma adesso che cosa dovrei fare? Da quello che ho capito dovrei compilare il campo delle voci del file "consts.py"

Telegram TOKEN and parameters Definition

TOKEN = "" CHANNEL_NAME = ""

BOT ACTIVITY TIME

MIN_HOUR = 9 MAX_HOUR = 24 PAUSE_MINUTES = 12

Amazon API Keys and parameters

AMAZON_ACCESS_KEY = "" AMAZON_SECRET_KEY = "" PARTNER_TAG = "" AMAZON_HOST = "" AMAZON_REGION = ""

Come dovrei compilare il tutto?

Stiggimy commented 1 year ago

In token inserisci il token del bot che ti dà @BotFather alla creazione del bot, in channel name metti la @ del tuo canale tipo @examplechannel, in activity time mettici l'orario in cui vuoi che il bot inizi a funzionare e smetta di funzionare e ogni quanto dovrebbe mandare un messaggio (circa). Nelle API di Amazon devi mettere le key API che ti danno quando apri un profilo Product Advertising API, ti danno anche un partner tag mentre AMAZON_HOST = "webservices.amazon.it" AMAZON_REGION = "eu-west-1" se vendi in Italia

DotHack88 commented 1 year ago

Grazie mille per la tua risposta. Ma ti dico che purtroppo o fortunatamente ho abbandonato il bot. Però ci riprovo e ti terrò aggiornato

Il gio 15 giu 2023, 17:29 Manuel Pazzaglini @.***> ha scritto:

In token inserisci il token del bot che ti dà @Botfather https://github.com/Botfather alla creazione del bot, in channel name metti la @ del tuo canale tipo @examplechannel, in activity time mettici l'orario in cui vuoi che il bot inizi a funzionare e smetta di funzionare e ogni quanto dovrebbe mandare un messaggio (circa). Nelle API di Amazon devi mettere le key API che ti danno quando apri un profilo Product Advertising API, ti danno anche un partner tag mentre AMAZON_HOST = " webservices.amazon.it" AMAZON_REGION = "eu-west-1" se vendi in Italia

— Reply to this email directly, view it on GitHub https://github.com/samirsalman/AmazonOffers-TelegramBot/issues/35#issuecomment-1593293716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTHIANJRSWMRWXNOXICE4DXLMS6HANCNFSM6AAAAAATCU2OJA . You are receiving this because you authored the thread.Message ID: @.***>