Hopex.Yandex
23.0.3
dotnet add package Hopex.Yandex --version 23.0.3
NuGet\Install-Package Hopex.Yandex -Version 23.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hopex.Yandex" Version="23.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hopex.Yandex --version 23.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hopex.Yandex, 23.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hopex.Yandex as a Cake Addin #addin nuget:?package=Hopex.Yandex&version=23.0.3 // Install Hopex.Yandex as a Cake Tool #tool nuget:?package=Hopex.Yandex&version=23.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Yandex supports classes by Schizo
The library contains a class for playing text with 6 voices and 3 intonations, as well as a class that allows you to asynchronously download and upload files from the cloud.
Adding to the project
.NET CLI
> dotnet add package Hopex.Yandex --version 23.0.3
Package Manager
PM> NuGet\Install-Package Hopex.Yandex -Version 23.0.3
PackageReference
<PackageReference Include="Hopex.Yandex" Version="23.0.3" />
Paket CLI
> paket add Hopex.Yandex --version 23.0.3
Script & Interactive
> #r "nuget: Hopex.Yandex, 23.0.3"
Cake
// Install Hopex.Yandex as a Cake Addin
#addin nuget:?package=Hopex.Yandex&version=23.0.3
// Install Hopex.Yandex as a Cake Tool
#tool nuget:?package=Hopex.Yandex&version=23.0.3
How to use
Yandex.Disk
public void YandeskDisk()
{
// You should have oauth token from Yandex Passport, see https://tech.yandex.ru/oauth/
string oauthToken = "<token hear>";
// Create a disk instance
Disk MyDisk = new Disk(oauthToken);
// Upload file from local
Disk.UploadFile(
diskPath: "SomeFolder/MyDocs/Template.docx",
localPath: @"C:\%USERPROFILE%\Desktop\Template.docx",
isOwerwrite: false
);
// Download file from disk
Disk.DownLoadFile(
diskPath: "SomeFolder/MyDocs/Template.docx",
localPath: @"C:\%USERPROFILE%\Desktop\Template.docx"
);
}
Yandex.Speech
public void YandeskSpeech()
{
// You should have oauth token from Yandex Passport, see https://tech.yandex.ru/oauth/
string oauthToken = "<token hear>";
// Create a speech instance
Speech MySpeech = new Speech();
// Speech by simple system voice (Is't Yandex.Speech)
MySpeech.NewSpeech("Some text for speech", 0);
// Speech in any voice and intonation
MySpeech.NewSpeech(
oauthToken,
"Some text for speech",
Speakers.Jane,
Emotions.Evil
);
}
Contributors
License
MIT License
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updating the description and documentation. Methods in Yandex.Disk has been renamed.