So, no problem with the module, but with connection. You can search the internet for the woocommerce_rest_cannot_view
and find https://stackoverflow.com/questions/42186757/woocommerce-woocommerce-rest-cannot-view-status-401.
You can try to change:
wcapi = API(
url="https://[my-web-shop's-URL]",
consumer_key="<your key>",
consumer_secret="<your secret>",
version="wc/v3"
)
to
wcapi = API(
url="https://[my-web-shop's-URL]",
consumer_key="<your key>",
consumer_secret="<your secret>",
version="wc/v3",
query_string_auth=True
)
It seems for many people that solved their case. It’s because of using httpS.
But maybe the keys you have created are not sufficient enough and have the wrong rights, e.g. they are not allowed to show the products. Maybe @pokoli can also shed some light here with explaining his setup.