{"id":21011809,"url":"https://github.com/khellang/nzb","last_synced_at":"2025-10-06T16:25:23.416Z","repository":{"id":27100046,"uuid":"30567396","full_name":"khellang/Nzb","owner":"khellang","description":"A tiny library for parsing NZB documents with .NET","archived":false,"fork":false,"pushed_at":"2025-06-17T22:41:41.000Z","size":63,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-02T04:36:49.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khellang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-10T00:55:11.000Z","updated_at":"2025-06-17T22:41:42.000Z","dependencies_parsed_at":"2022-08-31T19:40:39.417Z","dependency_job_id":null,"html_url":"https://github.com/khellang/Nzb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khellang/Nzb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khellang%2FNzb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khellang%2FNzb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khellang%2FNzb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khellang%2FNzb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khellang","download_url":"https://codeload.github.com/khellang/Nzb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khellang%2FNzb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278640459,"owners_count":26020438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T09:31:23.812Z","updated_at":"2025-10-06T16:25:23.411Z","avatar_url":"https://github.com/khellang.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nzb [![Build status](https://ci.appveyor.com/api/projects/status/y6l7t6xfjb1dtb7j/branch/master?svg=true)](https://ci.appveyor.com/project/khellang/nzb/branch/master)\n\nA tiny library for parsing NZB documents with .NET. The NZB Format Specification is [available here](http://wiki.sabnzbd.org/nzb-specs).\n\nThe library is implemented using .NET Standard 1.0, with support for the following platforms (minimum):\n\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - Windows Phone Silverlight 8\n - Xamarin.Android\n - Xamarin.iOS\n\nIt is shipped as [a NuGet package](https://www.nuget.org/packages/Nzb).\n\nTo install it, simply search for `Nzb` in the Visual Studio Package Manager window, or write\n\n\u003e Install-Package Nzb\n\nIn the Package Manager Console.\n\n## Usage\n\nUsing the library couldn't be more simple. There are two methods to call:\n\n - `NzbDocument.Load` - Loads a document from the specified `Stream`, optionally using a specified `Encoding`.\n - `NzbDocument.Parse` - Parses a document from the specified `string`.\n\nThe library consists of four public types:\n\n 1. `NzbDocument` - Represents an NZB document. This is the type returned from `NzbDocument.Load` or `NzbDocument.Parse`.\n 2. `NzbFile` - Represents a file linked in the NZB document.\n 3. `NzbSegment` - Represents one (of potentially many) segment(s) that makes up an `NzbFile`.\n\n## Example\n\nHere's a quick example on how to use it (it's embarrassingly simple):\n\n```csharp\npublic static class Program\n{\n    public static void Main(string[] args)\n    {\n        MainAsync(args).Wait();\n    }\n\n    public static async Task MainAsync(string[] args)\n    {\n        using (var documentStream = File.OpenRead(\"file.nzb\"))\n        {\n            var document = await NzbDocument.Load(documentStream);\n\n            // Access document properties here...\n        }\n    }\n}\n```\n\n## Sponsors\n\n[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=khellang\u0026utm_medium=Nzb) and [Dapper Plus](https://dapper-plus.net/?utm_source=khellang\u0026utm_medium=Nzb) are major sponsors and proud to contribute to the development of Nzb.\n\n[![Entity Framework Extensions](https://raw.githubusercontent.com/khellang/khellang/refs/heads/master/.github/entity-framework-extensions-sponsor.png)](https://entityframework-extensions.net/bulk-insert?utm_source=khellang\u0026utm_medium=Nzb)\n\n[![Dapper Plus](https://raw.githubusercontent.com/khellang/khellang/refs/heads/master/.github/dapper-plus-sponsor.png)](https://dapper-plus.net/bulk-insert?utm_source=khellang\u0026utm_medium=Nzb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhellang%2Fnzb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhellang%2Fnzb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhellang%2Fnzb/lists"}