Corsinvest.UrBackup.Api
1.1.0
Corsinvest for UrBackup Api Client
Install-Package Corsinvest.UrBackup.Api -Version 1.1.0
dotnet add package Corsinvest.UrBackup.Api --version 1.1.0
<PackageReference Include="Corsinvest.UrBackup.Api" Version="1.1.0" />
paket add Corsinvest.UrBackup.Api --version 1.1.0
#r "nuget: Corsinvest.UrBackup.Api, 1.1.0"
Corsinvest.UrBackup.Api
UrBackup Client API .Net
______ _ __
/ ____/___ __________(_)___ _ _____ _____/ /_
/ / / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
/ /___/ /_/ / / (__ ) / / / / |/ / __(__ ) /_
\____/\____/_/ /____/_/_/ /_/|___/\___/____/\__/
Corsinvest for UrBackup Api Client (Made in Italy)
Copyright and License
Copyright: Corsinvest Srl
For licensing details please visit LICENSE.md
Commercial Support
This software is part of a suite of tools called cv4pve-tools. If you want commercial support, visit the site
Main features
- Easy to learn
- Method named
- Return result
- Request
- Response
- Status
- Method direct access
- Get
- DownloadFile
- Login return bool if access
- Return Result class more information
Result
The result is class Result and contain properties:
- Response returned from UrBackup (data,errors,...) Class or dynamic ExpandoObject
- StatusCode (System.Net.HttpStatusCode): Status code of the HTTP response.
- ReasonPhrase (string): The reason phrase which typically is sent by servers together with the status code.
- IsSuccessStatusCode (bool) : Gets a value that indicates if the HTTP response was successful.
Usage
var client = new UrBackupClient(false, "10.92.90.96", 55414);
if (client.Login("test", "test"))
{
//list client last backup
foreach (var item in client.Backups.Get().Response.Clients)
{
Console.Out.WriteLine(item.Name);
}
}
Corsinvest.UrBackup.Api
UrBackup Client API .Net
______ _ __
/ ____/___ __________(_)___ _ _____ _____/ /_
/ / / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
/ /___/ /_/ / / (__ ) / / / / |/ / __(__ ) /_
\____/\____/_/ /____/_/_/ /_/|___/\___/____/\__/
Corsinvest for UrBackup Api Client (Made in Italy)
Copyright and License
Copyright: Corsinvest Srl
For licensing details please visit LICENSE.md
Commercial Support
This software is part of a suite of tools called cv4pve-tools. If you want commercial support, visit the site
Main features
- Easy to learn
- Method named
- Return result
- Request
- Response
- Status
- Method direct access
- Get
- DownloadFile
- Login return bool if access
- Return Result class more information
Result
The result is class Result and contain properties:
- Response returned from UrBackup (data,errors,...) Class or dynamic ExpandoObject
- StatusCode (System.Net.HttpStatusCode): Status code of the HTTP response.
- ReasonPhrase (string): The reason phrase which typically is sent by servers together with the status code.
- IsSuccessStatusCode (bool) : Gets a value that indicates if the HTTP response was successful.
Usage
var client = new UrBackupClient(false, "10.92.90.96", 55414);
if (client.Login("test", "test"))
{
//list client last backup
foreach (var item in client.Backups.Get().Response.Clients)
{
Console.Out.WriteLine(item.Name);
}
}
Dependencies
-
.NETStandard 2.0
- Newtonsoft.Json (>= 10.0.3)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.