{"repo":"hiscaler/woocommerce-go","free":true,"listed":false,"github":"https://github.com/hiscaler/woocommerce-go","clone":"git clone https://github.com/hiscaler/woocommerce-go.git","description":"WooCommerce Rest API SDK","language":"Go","stars":16,"topics":["woo","woocommerce","wordpress","api"],"license":"BSD-3-Clause","category":"api-integrations-sdks","readme_excerpt":"WooCommerce SDK for golang ========================== Docs Rest API Docs https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction Requirements To use the latest version of the REST API you must be using: - WooCommerce 3.5+. - WordPress 4.4+. Pretty permalinks in Settings Permalinks so that the custom endpoints are supported. Default permalinks will not work. You may access the API over either HTTP or HTTPS, but HTTPS is recommended where possible. If you use ModSecurity and see 501 Method Not Implemented errors, see this issue for details. Notices Only tested in API v3, if you are use v1 or v2, please Report an issue. Install Config Usage Step 1. Create a new client Now you get a wooCommerce client object, If you want to operate data, please refer second step. Step 2. Call special service method 10 records are returned by default. In most cases, you can filter by condition, example: The first ten eligible records are returned in this case And you can retrieve one data use One() method. Note : If the error type is ErrNotFound, it indicates that the corresponding data is not found. If the error type is other error, an error may occur in the call. So you should judge the results to further process your business logic. Services Service method name description: Method Name Description ------------- -------------------- Create() Create a new data All() Get a data list One() Get one data Delete() Delete a data Update() Update a data Batch() Batch operate data Coupons Se","default_branch":null,"files":null,"tree":[],"storefront":"/r/hiscaler","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hiscaler/woocommerce-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}