{"id":24534562,"url":"https://github.com/bloomtom/bunapi","last_synced_at":"2025-04-14T21:51:06.761Z","repository":{"id":33427681,"uuid":"158346368","full_name":"bloomtom/BunAPI","owner":"bloomtom","description":"A dotnet library for interfacing with BunnyCDN cloud storage.","archived":false,"fork":false,"pushed_at":"2022-10-15T21:26:41.000Z","size":122,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T22:08:45.705Z","etag":null,"topics":["api","bunnycdn","cloud-storage","storage"],"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/bloomtom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-20T07:12:07.000Z","updated_at":"2022-10-15T21:26:36.000Z","dependencies_parsed_at":"2023-01-15T00:52:32.991Z","dependency_job_id":null,"html_url":"https://github.com/bloomtom/BunAPI","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/bloomtom%2FBunAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomtom%2FBunAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomtom%2FBunAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomtom%2FBunAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloomtom","download_url":"https://codeload.github.com/bloomtom/BunAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968741,"owners_count":21191158,"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","bunnycdn","cloud-storage","storage"],"created_at":"2025-01-22T11:17:41.406Z","updated_at":"2025-04-14T21:51:06.732Z","avatar_url":"https://github.com/bloomtom.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"bunsharp.png\" /\u003e\n\u003c/p\u003e\n\n# BunAPI\n\u003eA C# library for interfacing with [BunnyCDN](https://bunnycdn.com/) cloud storage.\n\nThis library is a straightforward wrapper around the BunnyCDN file storage REST API.\n\n\n## Nuget Packages\n\nPackage Name | Target Framework | Version\n---|---|---\n[BunAPI](https://www.nuget.org/packages/bloomtom.BunAPI) | .NET Standard 2.0 | ![NuGet](https://img.shields.io/nuget/v/bloomtom.BunAPI.svg)\n\n\n## Usage\nCreate a new instance of `BunAPI.BunClient` using your API key and a \"storage zone\". Storage zones can be created [in your account dashboard](https://bunnycdn.com/dashboard/storagezones). Once created, your client can be used to list, upload, download and delete files.\n\n#### Finding Your API Key\nYour API key can be found in your account under \"Storage\". Open a connection zone, then go to \"FTP \u0026 API Access\". In the online interface the API key is called a password.\n\n## Testing\nTo run tests, you'll need to add a file to the project containing test configuration. The file should be `ConnectionInfo.cs` and should be stored under the BunTests directory. The file should contain one class with the following structure:\n```csharp\nnamespace BunTests\n{\n    internal static class ConnectionInfo\n    {\n        public static readonly string zone = \"yourTestZone\";\n        public static readonly string apiKey = \"yourTestApiKey\";\n        public static readonly string badZone = \"thisshouldntexist.donotcreate\";\n        public static readonly string badKey = \"notarealkey\";\n    }\n}\n```\nThe variables `zone` and `apiKey` should be filled in with your testing zone and key respectively. The `badZone` and `badKey` variables can be set to whatever you want as long as they aren't valid.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomtom%2Fbunapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomtom%2Fbunapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomtom%2Fbunapi/lists"}