Open
Description
Since the url endpoints for the icon_url
and logo_url
require authentication, are there methods for retrieving those images using my api key?
POLYGON_API_KEY = os.getenv("POLYGON_API_KEY")
client = RESTClient(POLYGON_API_KEY)
ticker_details = client.get_ticker_details(
"AAPL"
)
print(ticker_details.branding.icon_url)
print(ticker_details.branding.logo_url)
# urls below require auth
# https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2025-04-04_icon.png
# https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2025-04-04_logo.svg