Skip to content

Commit 4bdef8c

Browse files
committed
2 parents 6f12a17 + 9f211ac commit 4bdef8c

File tree

4 files changed

+11
-460
lines changed

4 files changed

+11
-460
lines changed

.github/workflows/nuget.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build
3030
id: build-project
3131
run: dotnet build ./Source/FikaAmazonAPI/FikaAmazonAPI.csproj --configuration Release --no-restore
32-
32+
3333

3434
- name: Pack
3535
id: pack-prohject
@@ -49,14 +49,19 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.USERGIHUB_TOKEN }}
5151

52+
- name: Get tag
53+
id: tag
54+
uses: dawidd6/action-get-tag@v1
55+
56+
5257
- name: Create Release
5358
id: create_release
5459
uses: actions/create-release@latest
5560
env:
5661
GITHUB_TOKEN: ${{ secrets.USERGIHUB_TOKEN }}
5762
with:
58-
tag_name: ${{ github.event.release.tag_name }}
59-
release_name: Release ${{ github.event.release.tag_name }}
63+
tag_name: ${{steps.tag.outputs.tag}}
64+
release_name: Release ${{steps.tag.outputs.tag}}
6065
body: TODO
6166
draft: false
6267
prerelease: false

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ The purpose of this package is to have an easy way of getting started with the A
4040
- [x] [Uploads](https://github.com/amzn/selling-partner-api-docs/blob/main/references/uploads-api/uploads_2020-11-01.md)
4141
- [x] [shipmentInvoicingV0](https://github.com/amzn/selling-partner-api-docs/blob/main/references/shipment-invoicing-api/shipmentInvoicingV0.md)
4242
- [x] [Shippings](https://github.com/amzn/selling-partner-api-docs/blob/main/references/shipping-api/shipping.md)
43-
- [x] [CatalogItemsV0](https://github.com/amzn/selling-partner-api-docs/blob/main/references/catalog-items-api/catalogItemsV0.md)
43+
- [x] [CatalogItemsV0](https://github.com/amzn/selling-partner-api-docs/blob/main/references/catalog-items-api/catalogItemsV0.md) (deprecated soon)
44+
- [ ] [CatalogItemsV20201201](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2020-12-01-reference)
4445
- [x] [FBAInventory](https://github.com/amzn/selling-partner-api-docs/tree/main/references/fba-inventory-api)
4546
- [x] [FBASmallAndLight](https://github.com/amzn/selling-partner-api-docs/blob/main/references/fba-small-and-light-api/fbaSmallandLight.md)
4647
- [x] [FBAInboundEligibility](https://github.com/amzn/selling-partner-api-docs/blob/main/references/fba-inbound-eligibility-api/fbaInbound.md)
@@ -190,7 +191,7 @@ var report= amazonConnection.Reports.CreateReport(parameters);
190191
```
191192

192193
### Report Manager 🚀🧑‍🚀✨
193-
Easy way to get the report you need and convert the file return from amazon to class or list, this feature only ready for some reports as its will take much times to finish for all reports ....
194+
Easy way to get the report you need and convert the file return from amazon to class or list, this feature only ready for some reports as its will take much times to finish for [All report type](https://github.com/amzn/selling-partner-api-docs/blob/main/references/reports-api/reporttype-values.md) ....
194195
```CSharp
195196
ReportManager reportManager = new ReportManager(amazonConnection);
196197
var products = reportManager.GetProducts(); //GET_MERCHANT_LISTINGS_ALL_DATA

Source/FikaAmazonAPI/ReportGeneration/ReportManager.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,6 @@ private string GetFeedbackFromDate(AmazonConnection amazonConnection, DateTime f
3838
#endregion
3939

4040
#region Performance
41-
public SellerFeedBackDataResult GetSellerFeedBackDataFromDays(int days)
42-
{
43-
DateTime fromDate = DateTime.UtcNow.AddDays(-1 * days);
44-
DateTime toDate = DateTime.UtcNow;
45-
return GetSellerPerformance(fromDate, toDate);
46-
}
47-
public SellerFeedBackDataResult GetSellerPerformance(DateTime fromDate, DateTime toDate)
48-
{
49-
var path = GetSellerPerformance(_amazonConnection, fromDate, toDate);
50-
SellerFeedBackData sellerPerformanceReport = new SellerFeedBackData(path);
51-
return sellerPerformanceReport.Data;
52-
}
53-
54-
private string GetSellerPerformance(AmazonConnection amazonConnection, DateTime fromDate, DateTime toDate)
55-
{
56-
return amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_SELLER_FEEDBACK_DATA, fromDate);
57-
}
5841
#endregion
5942

6043
#region Reimbursement

0 commit comments

Comments
 (0)