Compare commits
9 Commits
5b1e180c6f
...
v2.2
Author | SHA1 | Date | |
---|---|---|---|
dfa3a5e19c | |||
cdbb1be864 | |||
3ed38e7aa3 | |||
c392efce35 | |||
2761a9dacb | |||
006531aacc | |||
a8d4c05c81 | |||
280e8d0347 | |||
53c46b1d2f |
14
LICENSE
Normal file
14
LICENSE
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Non-Profit Open Software License 3.0 (NPOSL-3.0)
|
||||||
|
|
||||||
|
Copyright (C) 2025 Djeex - Nvidia Stock Bot
|
||||||
|
|
||||||
|
The NPOSL-3.0 is a free and open-source license, but it has restrictions.
|
||||||
|
You are allowed to:
|
||||||
|
- Use, copy, and modify the software for non-commercial purposes.
|
||||||
|
- Distribute the software, provided it remains free and non-commercial.
|
||||||
|
|
||||||
|
You are not allowed to:
|
||||||
|
- Use the software for commercial purposes.
|
||||||
|
- Modify the software and redistribute it under another license.
|
||||||
|
|
||||||
|
Full text of the license can be found at: https://sourceforge.net/p/npdl/wiki/NPOSL_3_0/
|
14
README.md
14
README.md
@ -1,9 +1,13 @@
|
|||||||
# Nvidia Stock Bot - WIP
|
# Nvidia Stock Bot
|
||||||
Par KevOut & Djeex
|
Par KevOut & Djeex
|
||||||
|
|
||||||
[](https://discord.gg/gxffg3GA96)
|
*Ce projet est protégé par la license Non-Profit Open Software License 3.0 (NPOSL-3.0)*
|
||||||
|
|
||||||
|
|
||||||
|
[](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)
|
||||||
- Récupère le SKU du produit concerné
|
- Récupère le SKU du produit concerné
|
||||||
@ -70,7 +74,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 +112,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