-
The project requires Android Studio 3.6+
-
The project consume Woocommerce Restful API of any website develop with wordpress using woocommerce plugin.
-
The concept of the project is to explain how to use paging library for both remote & local datasource, and you will be able to perform search action on product list.
-
click here to generate your Api Key (customer_key & customer_secret) for your ecommerce website.
-
click here for Restful API response used, you can test this on your postman.
If you're trying to consume woocommerce Restful Api of your Site(Ecommerce develop with wordpress), follow the below guidelines:
- Woocommerce Restful Api base url for product
- Complete Restful Api path
https://example/wp-json/wc/v3/products?per_page=50&consumer_key=ck_7ae18a838d4eef3321447c5fdfd88c96020d0f48&consumer_secret=cs_bed4f32d44a97c8bb6e7d23fb3a00b1c762e1969
Replace the customer key and customer secret with the one you generated from the above link.And dont forget to replace example.com with your domain name.
Click here for Woocommerce Resful Api documentation for products
- For code structure video demo click here
- Both remote & local data source
- display product list
- perform search on product list