-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
441 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/vendor | ||
composer.lock | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "rhysnhall/etsy-php-sdk", | ||
"version": "0.3.4", | ||
"version": "0.4.0", | ||
"description": "PHP SDK for Etsy API v3.", | ||
"type": "library", | ||
"keywords": [ | ||
|
@@ -15,6 +15,11 @@ | |
"name": "Rhys Hall", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/rhysnhall" | ||
}, | ||
{ | ||
"name": "Andrew Christensen", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/erankco" | ||
} | ||
], | ||
"require": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Etsy\Resources; | ||
|
||
use Etsy\Resource; | ||
|
||
/** | ||
* BuyerTaxonomy resource class. Represents a buyer taxonomy within Etsy. These are essentially categories used for listing. | ||
* | ||
* @link https://developers.etsy.com/documentation/reference/#tag/BuyerTaxonomy | ||
* @author Andrew Christensen [email protected] | ||
*/ | ||
class BuyerTaxonomy extends Resource { | ||
|
||
/** | ||
* Get the properties for this Buyer Taxonomy node. | ||
* | ||
* @return \Etsy\Collection | ||
*/ | ||
public function getProperties() { | ||
return $this->request( | ||
'GET', | ||
"/application/buyer-taxonomy/nodes/{$this->id}/properties", | ||
"BuyerTaxonomyProperty" | ||
); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Etsy\Resources; | ||
|
||
use Etsy\Resource; | ||
|
||
/** | ||
* BuyerTaxonomyProperty resource class. Represents an optional listing field for a specific buyer taxonomy. | ||
* | ||
* @link https://developers.etsy.com/documentation/reference/#operation/getPropertiesByBuyerTaxonomyId | ||
* @author Andrew Christensen [email protected] | ||
*/ | ||
class BuyerTaxonomyProperty extends Resource {} |
Oops, something went wrong.