Completed AliExpress interfacing module.

Began work on assembly loading.
This commit is contained in:
2021-04-23 15:11:49 -05:00
parent f2fb7bd732
commit 3057bb8dfc
42 changed files with 1823 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
namespace MultiShop.ShopFramework
{
public enum Currency
{
CAD,
USD
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MultiShop.ShopFramework
{
public interface IShop : IDisposable
{
string ShopName { get; }
string ShopDescription { get; }
string ShopModuleAuthor { get; }
void Initiate(Currency currency);
Task<IEnumerable<ProductListing>> Search(string query, int maxPage = -1);
}
}

View File

@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,15 @@
namespace MultiShop.ShopFramework
{
public struct ProductListing
{
public float? LowerPrice { get; set; }
public float UpperPrice { get; set; }
public float? Shipping { get; set; }
public string Name { get; set; }
public string URL { get; set; }
public string ImageURL { get; set; }
public float? Rating { get; set; }
public int? PurchaseCount { get; set; }
public int? ReviewCount { get; set; }
}
}