diff --git a/README.md b/README.md index c48a0f1..4e4aaca 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ The purpose of this bot is to get an Nvidia card. It tries multiple things to do > :point_right: You may get false positives from time to time, so I apologize for that. The library currently waits for all calls to be completed before parsing, but sometimes this can have unknown behavior. Patience is a virtue :) -| | **Best Buy** | **B&H** | **Newegg** | **Nvidia** | **EVGA** | -|:---:|:---:|:---:|:---:|:---:|:---:| -| **3070**| | | | | | -| **3080** | `✔` | `✔` | `ℹ` | `✔` | `✔` | -| **3090** | | | | | | +| | **Best Buy** | **B&H** | **Newegg** | **Nvidia** | **EVGA** | **Amazon** | +|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +| **3070**| | | | | | | +| **3080** | `✔` | `✔` | `ℹ` | `✔` | `✔` | `✔` | +| **3090** | | | | | | | > :point_right: (`ℹ`) Work in progress. Catchpa problems are intermittent. Use if you'd like, but expect problems. diff --git a/src/store/amazon.ts b/src/store/amazon.ts new file mode 100644 index 0000000..f93ef91 --- /dev/null +++ b/src/store/amazon.ts @@ -0,0 +1,56 @@ +import {Store} from './store'; + +export const Amazon: Store = { + cartUrl: '', + links: [ + { + brand: 'pny', + model: 'xlr8', + url: 'https://www.amazon.com/PNY-GeForce-Gaming-Epic-X-Graphics/dp/B08HBR7QBM?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'msi', + model: 'gaming trio', + url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR7SV3M?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'evga', + model: 'ftw3', + url: 'https://www.amazon.com/EVGA-10G-P5-3897-KR-GeForce-Technology-Backplate/dp/B08HR3Y5GQ?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'evga', + model: 'xc3', + url: 'https://www.amazon.com/EVGA-10G-P5-3885-KR-GeForce-Cooling-Backplate/dp/B08HR55YB5?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'gigabyte', + model: 'windforce', + url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080GAMING/dp/B08HJTH61J?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'gigabyte', + model: 'windforce eagle', + url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080EAGLE/dp/B08HJS2JLJ?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'asus', + model: 'tuf', + url: 'https://www.amazon.com/ASUS-Graphics-DisplayPort-Military-Grade-Certification/dp/B08HH5WF97?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + }, + { + brand: 'msi', + model: 'ventus', + url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR5SXPS?ref_=ast_sto_dp', + oosLabels: ['currently unavailable'] + } + ], + name: 'amazon' +}; diff --git a/src/store/index.ts b/src/store/index.ts index 580213d..1a60f5c 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -3,12 +3,14 @@ import {BAndH} from './bandh'; import {Evga} from './evga'; import {NewEgg} from './newegg'; import {Nvidia} from './nvidia'; +import {Amazon} from './amazon'; import {Config} from '../config'; const list = new Map([ ['bestbuy', BestBuy], ['bandh', BAndH], ['evga', Evga], + ['amazon', Amazon], ['newegg', NewEgg], ['nvidia', Nvidia] ]); @@ -25,6 +27,10 @@ if (!Config.stores.toLowerCase().includes('evga')) { list.delete('evga'); } +if (!Config.stores.toLowerCase().includes('amazon')) { + list.delete('amazon'); +} + if (!Config.stores.toLowerCase().includes('newegg')) { list.delete('newegg'); }