StreamableNet 0.1.0
See the version list below for details.
dotnet add package StreamableNet --version 0.1.0
NuGet\Install-Package StreamableNet -Version 0.1.0
<PackageReference Include="StreamableNet" Version="0.1.0" />
<PackageVersion Include="StreamableNet" Version="0.1.0" />
<PackageReference Include="StreamableNet" />
paket add StreamableNet --version 0.1.0
#r "nuget: StreamableNet, 0.1.0"
#:package StreamableNet@0.1.0
#addin nuget:?package=StreamableNet&version=0.1.0
#tool nuget:?package=StreamableNet&version=0.1.0
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
HttpClientwith 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 | 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. |
-
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.