StreamableNet 0.1.1
dotnet add package StreamableNet --version 0.1.1
NuGet\Install-Package StreamableNet -Version 0.1.1
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="StreamableNet" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StreamableNet" Version="0.1.1" />
<PackageReference Include="StreamableNet" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StreamableNet --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StreamableNet, 0.1.1"
#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.
#:package StreamableNet@0.1.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StreamableNet&version=0.1.1
#tool nuget:?package=StreamableNet&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
StreamableNet
A .NET 8.0 client library for interacting with the Streamable API.
It provides an easy-to-use wrapper around authentication, user management, video retrieval, and uploads.
✨ Features
- 🔑 Authentication with username & password via
BasicAuthProvider
- 👤 User operations (authenticate and retrieve account info)
- 🎬 Video operations (fetch single videos or full collection)
- 📤 Upload videos with automatic S3 signing & transcoding
- ⚡ Built on
HttpClient
with async/await support - 🚀 Compatible with .NET 8.0
📦 Installation
Install via NuGet:
dotnet add package StreamableNet
Or using the NuGet Package Manager in Visual Studio:
Install-Package StreamableNet
🚀 Usage
Authentication & Client Setup
using StreamableNet;
using StreamableNet.Auth;
var authProvider = new BasicAuthProvider("your-username", "your-password");
using var client = new StreamableClient(authProvider);
// Authenticate user
var user = await client.User.AuthenticateAsync();
Fetch Videos
// Get all videos
var videos = await client.Video.GetVideosAsync();
Console.WriteLine($"You have {videos?.Total} videos");
// Get a specific video by ID
var video = await client.Video.GetVideoAsync("12345");
Console.WriteLine($"Video Title: {video?.Title}");
Upload a Video
string shortcode = await client.Upload.UploadFileAsync("video.mp4", "My Test Upload");
Console.WriteLine($"Uploaded with shortcode: {shortcode}");
📂 Project Structure
StreamableNet/
├── StreamableClient.cs # Main entry point
├── Auth/ # Authentication providers
├── Clients/ # User, Video, and Upload clients
├── Models/ # DTOs for API responses
├── Exceptions/ # Custom exception handling
├── Utils/ # AWS Signature V4 helpers
├── Consts/ # API configuration options
└── StreamableNet.csproj
🛠 Requirements
- .NET 8.0 SDK
🤝 Contributing
Contributions are welcome! Please open an issue or submit a PR.
📜 License
This project is licensed under the terms of the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- 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.