Compare commits
4 Commits
5b1e180c6f
...
006531aacc
Author | SHA1 | Date | |
---|---|---|---|
006531aacc | |||
a8d4c05c81 | |||
280e8d0347 | |||
53c46b1d2f |
@ -1,8 +1,9 @@
|
|||||||
# Nvidia Stock Bot - WIP
|
# Nvidia Stock Bot
|
||||||
Par KevOut & Djeex
|
Par KevOut & Djeex
|
||||||
|
|
||||||
[](https://discord.gg/gxffg3GA96)
|
[](https://discord.gg/gxffg3GA96)
|
||||||
|
|
||||||
|
Bot qui permet d'être alerté des stocks de Nvidia RTX FE.
|
||||||
|
|
||||||
Ce robot :
|
Ce robot :
|
||||||
- Appelle l'API de Nvidia listant le produit (par défaut toutes les 60s)
|
- Appelle l'API de Nvidia listant le produit (par défaut toutes les 60s)
|
||||||
@ -70,7 +71,7 @@ Vous trouverez-ci dessous les instructions pour configurer le conteneur avec not
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
nvidia-stock-bot:
|
nvidia-stock-bot:
|
||||||
image: git.djeex.fr/djeex/nvidia-stock-bot:wip
|
image: git.djeex.fr/djeex/nvidia-stock-bot:latest
|
||||||
container_name: nvidia-stock-bot
|
container_name: nvidia-stock-bot
|
||||||
restart: always # Le conteneur redémarrera automatiquement en cas d'échec
|
restart: always # Le conteneur redémarrera automatiquement en cas d'échec
|
||||||
environment:
|
environment:
|
||||||
@ -108,8 +109,10 @@ Vous trouverez ci-dessous comment exécuter directement le script Python. Avec c
|
|||||||
```sh
|
```sh
|
||||||
export DISCORD_WEBHOOK_URL="https://votre_url_discord"
|
export DISCORD_WEBHOOK_URL="https://votre_url_discord"
|
||||||
export REFRESH_TIME="60"
|
export REFRESH_TIME="60"
|
||||||
export API_URL_SKU="https://api.nvidia.partners/edge/product/search?page=1&limit=100&locale=fr-fr&Manufacturer=Nvidia&gpu=RTX%205090"
|
export API_URL_SKU="https://api.nvidia.partners/edge/product/search?page=1&limit=100&locale=fr-fr&Manufacturer=Nvidia&gpu=RTX%205080"
|
||||||
export API_URL_STOCK="https://api.store.nvidia.com/partner/v1/feinventory?locale=fr-fr&skus="
|
export API_URL_STOCK="https://api.store.nvidia.com/partner/v1/feinventory?locale=fr-fr&skus="
|
||||||
|
export PRODUCT_URL= "https://marketplace.nvidia.com/fr-fr/consumer/graphics-cards/?locale=fr-fr&page=1&limit=12&gpu=RTX%205080&manufacturer=NVIDIA"
|
||||||
|
export PRODUCT_NAME="RTX 5080"
|
||||||
export TEST_MODE=false
|
export TEST_MODE=false
|
||||||
```
|
```
|
||||||
- Lancez le script
|
- Lancez le script
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.3 MiB After Width: | Height: | Size: 4.8 MiB |
Reference in New Issue
Block a user