Skip to content

VasenevEA/diawiApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diawi Api

.Net Standart 2.0 library for diawi's API

Nuget

Install

Install-Package diawi.api -Version 1.1.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);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages