Closed brysonreece closed 1 year ago
Additionally it seems that de-serializing into a TaxonomyResponseDTO
object fails to populate category/sub-category attributes when fetching the Marketplace department list from the Utility API. We've been able to determine that it's caused by the Category/Subcategory attribute maps not pointing to the correct key in the API response data (as well as missing a couple). Not sure if a new DTO object needs to be created for that specific endpoint.
Hey @jlevers, I was about to put up a PR for this, but you beat me to it =) It looks like your latest commit got all but one of the require_once references. Walmart.php has the same require_once issue as all the other generated API classes that you fixed.
Thanks @friendscottn! This should be all fixed in v0.4.0
. Let me know if yall run into any other issues with it.
Please note that the latest release contains breaking changes – client ID and client secret are now keys passed to the $options
array parameter in the Configuration
constructor, which is now the only parameter accepted by the Configuration
constructor. The breaking change was necessary to fix #3 cleanly...I figured since this library is still in pre-release and there's only 22 total downloads, this wouldn't be too big an issue ;)
Hey there, back again -- I wanted to point out an issue that my team is running into and wanted to make sure you were aware!
When installing the package through Composer and attempting to import various classes we're encountering the following:
This is caused by the expectation that the
vendor
directory and dependencies are located in the root of the package, rather than the root of the project including the package. A temporary workaround is tocd
intovendor/highside-labs/walmart-api
and again runningcomposer install
.Removing the various
require_once
calls that loadautoload.php
shouldn't impact functionality other than allowing it to be utilized by external projects again (which would handle loadingautoload.php
on their own).If you need me to submit a PR, I can!
Thanks!