diff --git a/shakestation.py b/shakestation.py index 454c8aa..8eec256 100644 --- a/shakestation.py +++ b/shakestation.py @@ -61,10 +61,16 @@ def domain_info(params, authentication): if "type" not in data["data"]: return {"info": "No type found in the data"} domainType = data["data"]["type"] + + skippedTypes = ["auction"] + if domainType in skippedTypes: + return {} + + if domainType == "marketplace": score = data["data"].get("score", "No score available") price = data["data"].get("price", "No price available") - return {"info": f"

Score: {score}
Price: {price}


View Listing"} + return {"info": f"

Score: {score}
Price: {price}

View Listing"}