9 Commits

Author SHA1 Message Date
dfa3a5e19c In english 2025-03-26 15:38:46 +00:00
cdbb1be864 Minor change 2025-03-26 12:01:31 +00:00
3ed38e7aa3 badge license 2025-03-26 12:01:12 +00:00
c392efce35 Ajout license 2025-03-26 11:55:09 +00:00
2761a9dacb License 2025-03-26 11:53:23 +00:00
006531aacc Maj intro 2025-03-14 15:12:40 +00:00
a8d4c05c81 Fix python section 2025-03-14 15:08:30 +00:00
280e8d0347 Maj schema 2025-03-14 15:05:06 +00:00
53c46b1d2f WIP to MAIN 2025-03-14 12:02:54 +00:00
3 changed files with 24 additions and 4 deletions

14
LICENSE Normal file
View 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/

View File

@ -1,9 +1,13 @@
# Nvidia Stock Bot - WIP # Nvidia Stock Bot
Par KevOut & Djeex Par KevOut & Djeex
[![](https://img.shields.io/badge/JV%20hardware-rejoindre-green?style=flat-square&logo=discord&logoColor=%23fff&label=JV%20hardware&link=https%3A%2F%2Fdiscord.gg%2Fgxffg3GA96)](https://discord.gg/gxffg3GA96) *Ce projet est protégé par la license Non-Profit Open Software License 3.0 (NPOSL-3.0)*
[![](https://img.shields.io/badge/JV%20hardware-rejoindre-green?style=flat-square&logo=discord&logoColor=%23fff&label=JV%20hardware&link=https%3A%2F%2Fdiscord.gg%2Fgxffg3GA96)](https://discord.gg/gxffg3GA96) ![Licence: NPOSL-3.0](https://img.shields.io/badge/license-NPOSL--3.0-blue?style=flat-square&)
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