Created
October 27, 2019 08:08
-
-
Save arifulhb/91408c9b9c3f36d3fe68672af14e3e7e to your computer and use it in GitHub Desktop.
Amazon-pa-api50: Create Config instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// By Default all resources and will connect to United States | |
let myConfig = new Config(); | |
// if you want other country then united states. | |
let myConfig = new Config(undefined, country.UnitedKingdom); | |
// if you want custom resources. | |
// this custom `resources.Offers` will be set default to all of your search. You can customize the resources in your search specific function also. | |
let myConfig = new Config(resources.Offers); | |
// if you want custom resources with different country | |
let myConfig = new Config(resources.ItemInfo, country.Canada); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment