https://github.com/corsinvest/cv4urb-api-dotnet
UrBackup Client API .Net C#
https://github.com/corsinvest/cv4urb-api-dotnet
api api-client api-rest dotnetcore urbackup
Last synced: about 1 month ago
JSON representation
UrBackup Client API .Net C#
- Host: GitHub
- URL: https://github.com/corsinvest/cv4urb-api-dotnet
- Owner: Corsinvest
- License: other
- Created: 2019-10-05T13:00:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T20:30:11.000Z (almost 3 years ago)
- Last Synced: 2025-09-04T12:03:10.197Z (about 1 month ago)
- Topics: api, api-client, api-rest, dotnetcore, urbackup
- Language: C#
- Homepage: https://www.cv4pve-tools.com
- Size: 81.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Corsinvest.UrBackup.Api
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
 [](https://ci.appveyor.com/project/franklupo/cv4urb-api-dotnet) [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=PPM9JHLQLRV2S&item_name=Open+Source+Project¤cy_code=EUR&source=url)UrBackup Client API .Net
[Nuget Api](https://www.nuget.org/packages/Corsinvest.UrBackup.Api)
```text
______ _ __
/ ____/___ __________(_)___ _ _____ _____/ /_
/ / / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
/ /___/ /_/ / / (__ ) / / / / |/ / __(__ ) /_
\____/\____/_/ /____/_/_/ /_/|___/\___/____/\__/Corsinvest for UrBackup Api Client (Made in Italy)
```## Copyright and License
Copyright: Corsinvest Srl
For licensing details please visit [LICENSE.md](LICENSE.md)## Commercial Support
This software is part of a suite of tools called cv4pve-tools. If you want commercial support, visit the [site](https://www.corsinvest.it/cv4pve-tools)
## 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](https://msdn.microsoft.com/en-US/library/system.dynamic.expandoobject(v=vs.110).aspx)
* **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
```C#
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);
}
}
```