mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 07:17:15 +00:00
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace bnhtrade.Core.Test.Amazon.SP_API
|
|
{
|
|
public class VariousCalls
|
|
{
|
|
public VariousCalls()
|
|
{
|
|
GetCompetitivePrice();
|
|
}
|
|
|
|
public void GetFeeEstimate()
|
|
{
|
|
var inst = new Data.Amazon.ProductFee.GetFeeEstimate();
|
|
var result = inst.GetFba("B0009UBR3A", 12345, 20m);
|
|
int i = 0;
|
|
}
|
|
|
|
public void GetInventorySummary()
|
|
{
|
|
var skuList = new Data.Database.ReadRandomData().GetSkuNumber(75);
|
|
var get = new Data.Amazon.FbaInventory.GetFbaInventoryInfo().GetFnsku(skuList);
|
|
int i = 0;
|
|
}
|
|
|
|
public void GetCompetitivePrice()
|
|
{
|
|
var asinList = new Data.Database.ReadRandomData().GetAsinNumber(30);
|
|
//var result = new Data.Amazon.ProductPricing.GetCompetitivePricing().BySku(asinList);
|
|
var result = new Data.Amazon.ProductPricing.GetCompetitivePricing().ByAsin(new List<string> { "B005EEQEIY" });
|
|
int i = 0;
|
|
}
|
|
}
|
|
}
|