StreamableNet 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package StreamableNet --version 0.1.0
                    
NuGet\Install-Package StreamableNet -Version 0.1.0
                    
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.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StreamableNet" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="StreamableNet" />
                    
Project file
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.0
                    
#r "nuget: StreamableNet, 0.1.0"
                    
#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.0
                    
#: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.0
                    
Install as a Cake Addin
#tool nuget:?package=StreamableNet&version=0.1.0
                    
Install as a Cake Tool

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

Clone the repository and include the project in your solution:

git clone https://github.com/<your-username>/assasinos-streamablenet.git

Or add it as a project reference inside your .csproj:

<ItemGroup>
  <ProjectReference Include="..\assasinos-streamablenet\StreamableNet.csproj" />
</ItemGroup>

(NuGet packaging instructions can be added later if you plan to publish it.)


?? 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();
Console.WriteLine($"Logged in as: {user.user_name}");

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

assasinos-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
  • Streamable account for authentication

?? 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 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.

Version Downloads Last Updated
0.1.1 166 8/22/2025
0.1.0 151 8/22/2025