diawi.api
1.0.0
Upload API interface
Install-Package diawi.api -Version 1.0.0
dotnet add package diawi.api --version 1.0.0
<PackageReference Include="diawi.api" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add diawi.api --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
https://github.com/VasenevEA/diawiApi
diawi Api
.Net Standart 2.0 library for diawi's API
Install
Install-Package diawi.api -Version 1.0.0
Example
Simply replace the diawi 'token' variable with your token string and replace the 'file' variable with the full path of your application.
using DiawiApi;
using DiawiApi.Models;
var fileStream = new FileStream(file, FileMode.Open);
var result = await api.Upload(token, new StreamPart(stream, stream.Name, ""));
var status = await api.GetStatus(token, result.JobKey);
https://github.com/VasenevEA/diawiApi
diawi Api
.Net Standart 2.0 library for diawi's API
Install
Install-Package diawi.api -Version 1.0.0
Example
Simply replace the diawi 'token' variable with your token string and replace the 'file' variable with the full path of your application.
using DiawiApi;
using DiawiApi.Models;
var fileStream = new FileStream(file, FileMode.Open);
var result = await api.Upload(token, new StreamPart(stream, stream.Name, ""));
var status = await api.GetStatus(token, result.JobKey);
Dependencies
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.2)
- refit (>= 4.7.51)
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.
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 194 | 9/26/2019 |