2024-04-16 20:01:34 +03:30
|
|
|
|
using Netina.Infrastructure.Models.Scrapers.Digikala;
|
2024-02-15 10:39:00 +03:30
|
|
|
|
|
2024-04-16 20:01:34 +03:30
|
|
|
|
namespace Netina.Infrastructure.RestServices;
|
2024-02-15 10:39:00 +03:30
|
|
|
|
|
|
|
|
|
|
public interface IDigikalaRestApi
|
|
|
|
|
|
{
|
|
|
|
|
|
[Get("/v1/search/")]
|
|
|
|
|
|
Task<GetDigikalProductsResponseDto> SearchProductAsync([Query] string q);
|
|
|
|
|
|
|
2024-04-20 16:05:03 +03:30
|
|
|
|
[Get("/v2/product/{productId}/")]
|
2024-02-15 10:39:00 +03:30
|
|
|
|
Task<GetDigikalProductResponseDto> GetProductAsync(string productId);
|
|
|
|
|
|
}
|