using AuthorBuddy.Web.Models;

namespace AuthorBuddy.Web.Services;

public interface IWikipediaService
{
    Task<List<WikipediaResult>> SearchAsync(string query, int maxResults = 3);
    Task<List<WikipediaResult>> SearchAsync(WikipediaSearchRequest request);
    Task<string?> GetExtractAsync(string title, string language = "de");
    Task<string?> GetFullArticleAsync(string title, string language = "de");
}
