Skip to content

Commit

Permalink
change to v1.7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
abuzuhri committed Mar 11, 2024
1 parent 22b6715 commit 21a01e6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
28 changes: 27 additions & 1 deletion Source/FikaAmazonAPI.SampleCode/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using FikaAmazonAPI.Utils;
using FikaAmazonAPI.ReportGeneration;
using FikaAmazonAPI.Utils;
using Microsoft.Extensions.Configuration;
using static FikaAmazonAPI.Utils.Constants;

Expand Down Expand Up @@ -28,6 +29,31 @@ static async Task Main(string[] args)
IsDebugMode = true
});


ReportManager reportManager = new ReportManager(amazonConnection);
//var datadddd = reportManager.GetFbaEstimateFeeData(DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);
var dataddd222d = reportManager.GetReferralFeeReportData(DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);



var file22227 = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_REFERRAL_FEE_PREVIEW_REPORT, DateTime.UtcNow.AddDays(-3), DateTime.UtcNow);


var file3337 = amazonConnection.Reports.GetReports(new Parameter.Report.ParameterReportList()
{
reportTypes = new ReportTypes[] { ReportTypes.GET_REFERRAL_FEE_PREVIEW_REPORT },
});

var sss = amazonConnection.Reports.GetReport("784871019793");


var file = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_FBA_ESTIMATED_FBA_FEES_TXT_DATA, DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);






//var feedTypes = new ParameterGetFeed { feedTypes = { FeedType.POST_PRODUCT_PRICING_DATA }, processingStatuses = ProcessingStatuses.IN_PROGRESS };

//var feeds = amazonConnection.Feed.GetFeeds(feedTypes);
Expand Down
6 changes: 3 additions & 3 deletions Source/FikaAmazonAPI/FikaAmazonAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<Product>CSharp Amazon Sp API</Product>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<LangVersion>8.0</LangVersion>
<Version>1.7.16</Version>
<AssemblyVersion>1.7.16</AssemblyVersion>
<FileVersion>1.7.16</FileVersion>
<Version>1.7.17</Version>
<AssemblyVersion>1.7.17</AssemblyVersion>
<FileVersion>1.7.17</FileVersion>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/abuzuhri/Amazon-SP-API-CSharp</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 21a01e6

Please sign in to comment.