Files
telegram-bot/modules/ContentStore/Service/CatApiService.cs
T

10 lines
352 B
C#
Raw Normal View History

2022-02-16 18:08:02 +02:00
using West.TelegramBot.ContentStore.Model;
2022-02-16 17:07:30 +02:00
namespace West.TelegramBot.ContentStore.Service;
public class CatApiService : AnimalAsAService
{
public override StoreItem StoreItem { get; } = new("cat", "Котэ", 40, 10);
2023-07-28 23:14:36 +03:00
public CatApiService(IHttpClientFactory factory) :
base(factory, new Uri("https://api.thecatapi.com/v1/")) {}
2022-02-16 17:07:30 +02:00
}