{"id":21331934,"url":"https://github.com/brandon689/woocommerceblazorapi","last_synced_at":"2025-08-26T23:38:38.137Z","repository":{"id":214808079,"uuid":"737404374","full_name":"Brandon689/WooCommerceBlazorAPI","owner":"Brandon689","description":"New .NET 8.0 ecommerce API and Blazor Admin Panel","archived":false,"fork":false,"pushed_at":"2024-04-06T02:42:24.000Z","size":201,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T04:26:42.972Z","etag":null,"topics":["api-client","dotnet8","ecommerce","headless-wordpress","restful-api","woocommerce","woocommerce-api","wordpress","wordpress-api"],"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/Brandon689.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-30T22:54:18.000Z","updated_at":"2025-01-07T10:39:43.000Z","dependencies_parsed_at":"2024-01-16T05:27:06.131Z","dependency_job_id":"e1398b13-f967-4ee5-a242-ff2471c19e59","html_url":"https://github.com/Brandon689/WooCommerceBlazorAPI","commit_stats":null,"previous_names":["brandon689/woocommerceapi","brandon689/woocommerceblazorapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Brandon689/WooCommerceBlazorAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brandon689%2FWooCommerceBlazorAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brandon689%2FWooCommerceBlazorAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brandon689%2FWooCommerceBlazorAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brandon689%2FWooCommerceBlazorAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brandon689","download_url":"https://codeload.github.com/Brandon689/WooCommerceBlazorAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brandon689%2FWooCommerceBlazorAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272267834,"owners_count":24903788,"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-08-26T02:00:07.904Z","response_time":60,"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":["api-client","dotnet8","ecommerce","headless-wordpress","restful-api","woocommerce","woocommerce-api","wordpress","wordpress-api"],"created_at":"2024-11-21T22:45:10.994Z","updated_at":"2025-08-26T23:38:38.098Z","avatar_url":"https://github.com/Brandon689.png","language":"C#","readme":"# WooCommerceAPI\n\n## Introduction\n\nWooCommerce .NET Api and Blazor Server Admin Panel for ecommerce developers.\n\n\n## Note\nIt is recommended that you utilize a dockerized WordPress dev environment for testing.\nHere is the needed instructions to get started, just install Docker and then follow along:\nhttps://github.com/docker/awesome-compose/tree/master/official-documentation-samples/wordpress/\n* Basic Auth is not supported by WooCommerce over HTTP, therefore use OAuth.\n\n## Swagger\nThere is now a ASP.NET core server with Swagger Docs\n\n## endpoints done\n\n- Create product (simple, variable, metadata)\n- Batch create product attribute / variations\n- Upload media (wordpress)\n- List all products\n- Update a product\n- Update product variations\n- Get product variations\n- Get an order\n- List all orders\n- Update a media item\n## Next\n\n- Delete a product\n- Delete product variations\n- Create a product category\n- List all product categories\n- Update an order\n\n\n## Hello World\n\n```csharp\nusing WooCommerceAPI.Clients.WooCommerces;\nusing WooCommerceAPI.Models.Configurations;\nusing WooCommerceAPI.Models.Services.Foundations.Products;\nusing dotenv.net;\n\nDotEnv.Load(options: new DotEnvOptions(envFilePaths: new[] { \"../../../.env\" }));\n\nvar wooCommerceConfigurations = new WooCommerceConfigurations\n{\n    ApiKey = Environment.GetEnvironmentVariable(\"WC_CONSUMER_KEY\"),\n    ApiSecret = Environment.GetEnvironmentVariable(\"WC_CONSUMER_SECRET\"),\n    ApiUrl = Environment.GetEnvironmentVariable(\"WC_STORE_URL\")\n};\n\nvar wooCommerceClient = new WooCommerceClient(wooCommerceConfigurations, true);\n\nProductAttribute[] a = new ProductAttribute[3];\n\n\nvar inputProduct = new Product\n{\n    Request = new ProductRequest\n    {\n        Name = \"name 5\",\n        Type = \"simple\",\n        RegularPrice = \"10\",\n        //Attributes = a\n    }\n};\n\nProduct result = await wooCommerceClient.Products.SendProductAsync(inputProduct);\nConsole.WriteLine(result.Response.Name);\n```\n\n\n## Acknowledgements\nThanks to [hassanhabib](https://github.com/hassanhabib) for the coding Standard.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandon689%2Fwoocommerceblazorapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandon689%2Fwoocommerceblazorapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandon689%2Fwoocommerceblazorapi/lists"}