{"repo":"loaidev64/woocommerce_flutter_api","free":true,"listed":false,"github":"https://github.com/loaidev64/woocommerce_flutter_api","clone":"git clone https://github.com/loaidev64/woocommerce_flutter_api.git","description":"Woocommerce flutter api integration with external plugin created by loaidev64@gmail.com and published by amjadqasem07@gmail.com.","language":"Dart","stars":10,"topics":["dart","dio","flutter","rest-api","restful-api","woocommerce"],"license":"MIT","category":"mobile-apps","readme_excerpt":"WooCommerce Flutter API A comprehensive Flutter package for seamless WooCommerce integration. Easily manage authentication, notifications, cart, and product data with updated dependencies and full documentation. Dependencies This package leverages the following dependencies: - dio (^5.9.0) for HTTP requests - faker (^2.2.0) for generating fake data during development - flutter secure storage (^9.2.4) for secure data storage - pretty dio logger (^1.4.0) for logging HTTP requests in a readable format Installation To install the package, run: Usage Create the main WooCommerce object to access all the features of the package: Using Fake Data ( useFaker ) The useFaker property is designed for development and testing purposes. When set to true , all API requests will return fake data generated by the faker package. This is especially useful if your WooCommerce backend is still under development—allowing you to build and test your application without relying on live data. Once your backend is ready, simply set useFaker to false to receive real data. Example of initializing with fake data enabled: In this mode, every API call (e.g., authentication, notifications, cart, products) will return simulated responses, allowing you to continue development seamlessly until your WooCommerce backend is published. Authentication Login and securely store the user ID: Notifications Fetch all notifications for the currently logged in user: Cart Retrieve the cart for the current user: WooCommerce AP","default_branch":null,"files":null,"tree":[],"storefront":"/r/loaidev64","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loaidev64/woocommerce_flutter_api/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."}