-
-
Save nmcspadden/07a7e243c6ee4bd36e20721a6f2d145a to your computer and use it in GitHub Desktop.
adobe_tools - Get Product List (public)
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
def get_product_list(): | |
"""Get list of products.""" | |
(config_data, jwt_token, access_token) = generate_config() | |
productlist = _product_list(config_data, access_token) | |
products = [] | |
for product in productlist: | |
products.append(product['groupName']) | |
return products |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment