2022-09-23 23:51:54 +02:00
|
|
|
|
namespace Piwigo.Client;
|
|
|
|
|
|
|
|
|
|
public interface IPiwigoClient
|
|
|
|
|
{
|
2022-10-06 23:54:44 +02:00
|
|
|
|
bool IsLoggedIn { get; }
|
|
|
|
|
int ChunkSize { get; set; }
|
2022-09-23 23:51:54 +02:00
|
|
|
|
Task LoginAsync(Uri uri, string username, string password);
|
2022-10-07 13:43:19 +02:00
|
|
|
|
Task LogoutAsync();
|
|
|
|
|
Task<PiwigoStatus> GetStatusAsync();
|
2022-10-08 00:08:48 +02:00
|
|
|
|
Task<IReadOnlyCollection<PiwigoCategory>> GetAllCategoriesAsync();
|
2022-09-23 23:51:54 +02:00
|
|
|
|
}
|