{"id":20291669,"url":"https://github.com/blazingdocs/blazingdocs-net","last_synced_at":"2025-03-04T05:11:11.244Z","repository":{"id":48104627,"uuid":"393021534","full_name":"blazingdocs/blazingdocs-net","owner":"blazingdocs","description":"BlazingDocs C#, .NET client","archived":false,"fork":false,"pushed_at":"2021-08-07T21:01:22.000Z","size":49,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T09:12:27.943Z","etag":null,"topics":["api","csv","doc","document-generation","documents","docx","json","mail-merge","odt","pdf","reports","templates","xml"],"latest_commit_sha":null,"homepage":"https://blazingdocs.com","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/blazingdocs.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":"2021-08-05T11:46:14.000Z","updated_at":"2022-05-08T15:36:54.000Z","dependencies_parsed_at":"2022-08-12T18:40:45.724Z","dependency_job_id":null,"html_url":"https://github.com/blazingdocs/blazingdocs-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blazingdocs","download_url":"https://codeload.github.com/blazingdocs/blazingdocs-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787486,"owners_count":20020101,"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","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":["api","csv","doc","document-generation","documents","docx","json","mail-merge","odt","pdf","reports","templates","xml"],"created_at":"2024-11-14T15:13:31.695Z","updated_at":"2025-03-04T05:11:11.226Z","avatar_url":"https://github.com/blazingdocs.png","language":"C#","readme":"# BlazingDocs C#, .NET client\nHigh-performance document generation API. Generate documents and reports from СSV, JSON, XML with 99,9% uptime and 24/7 monitoring.\n\n## Installation\n\nRun this line from Package Manager Console:\n\n```\nInstall-Package BlazingDocs -Version 1.0.0\n```\n\n## Integration basics\n\n### Setup\n\nYou can get your API Key at https://app.blazingdocs.com\n\n```c#\nvar client = new BlazingClient(\"api-key\");\n```\n\n### Getting account info\n\n```c#\nAccountModel account = await _client.GetAccountAsync();\n```\n\n### Getting merge templates list\n\n```c#\nList\u003cTemplateModel\u003e templates = await _client.GetTemplatesAsync();\n```\n\n### Getting usage info\n\n```c#\nUsageModel usage = await _client.GetUsageAsync();\n```\n\n### Executing merge\n\n```c#\nusing (var source = File.OpenRead(\"PO-Template.docx\"))\n{\n    using (var reader = new StreamReader(\"PO-Template.json\", Encoding.UTF8))\n    {\n        var data = reader.ReadToEnd();\n\n        var parameters = new MergeParameters\n        {\n            Sequence = false, // data is object\n            DataSourceType = DataSourceType.Json, // data in json format\n            Strict = true // keep json types\n        };\n\n        var template = new FormFile(\"PO-Template.docx\", source);\n\n        var result = await _client.MergeAsync(data, \"output.pdf\", parameters, template);\n\n        foreach (var file in result.Files)\n        {\n            using (var stream = new FileStream(file.Name, FileMode.Create))\n            {\n                file.SaveToAsync(stream).Wait();\n            }\n        }\n    }\n}\n```\n\n## Documentation\n\nSee more details here https://docs.blazingdocs.com","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazingdocs%2Fblazingdocs-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblazingdocs%2Fblazingdocs-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazingdocs%2Fblazingdocs-net/lists"}