feat(store): add asus (#102)

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Forrest Marvez
2020-09-20 10:10:00 -04:00
committed by GitHub
parent c65fa04666
commit a501cf703b
3 changed files with 35 additions and 10 deletions
+6 -5
View File
@@ -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 :)
| | **Amazon** | **EVGA** | **Best Buy** | **B&H** | **Micro Center** | **Newegg** | **Nvidia** |
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| **3070**| | | | | | | |
| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` |
| **3090** | | | | | | | |
| | **Amazon** | **ASUS** | **EVGA** | **Best Buy** | **B&H** | **Micro Center** | **Newegg** | **Nvidia** |
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| **3070**| | | | | | | | |
| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` |
| **3090** | | | | | | | | |
## Installation and prerequisites
@@ -90,6 +90,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
| Best Buy | `bestbuy`|
| Amazon | `amazon`|
| Amazon.ca | `amazon-ca`|
| ASUS | `asus` |
| B&H | `bandh`|
| EVGA | `evga`|
| Micro Center | `microcenter`|
+20
View File
@@ -0,0 +1,20 @@
import {Store} from './store';
export const Asus: Store = {
links: [
{
brand: 'asus',
model: 'tuf oc',
url: 'https://store.asus.com/us/item/202009AM160000001/',
oosLabels: ['coming soon', 'temporarily sold out']
},
{
brand: 'asus',
model: 'tuf',
url: 'https://store.asus.com/us/item/202009AM150000004/',
oosLabels: ['coming soon', 'temporarily sold out']
}
],
name: 'asus'
};
+9 -5
View File
@@ -1,16 +1,20 @@
import {Amazon} from './amazon';
import {AmazonCa} from './amazon-ca';
import {Asus} from './asus';
import {BestBuy} from './bestbuy';
import {BAndH} from './bandh';
import {Evga} from './evga';
import {NewEgg} from './newegg';
import {Amazon} from './amazon';
import {MicroCenter} from './microcenter';
import {Config} from '../../config';
import {Evga} from './evga';
import {MicroCenter} from './microcenter';
import {NewEgg} from './newegg';
import {Nvidia} from './nvidia';
import {AmazonCa} from './amazon-ca';
const masterList = new Map([
[Amazon.name, Amazon],
[AmazonCa.name, AmazonCa],
[Asus.name, Asus],
[BestBuy.name, BestBuy],
[BAndH.name, BAndH],
[Evga.name, Evga],