academic_observatory_workflows.clearbit
Module Contents
Functions
|
Download a company logo from the Clearbit Logo API tool: https://clearbit.com/logo. |
- academic_observatory_workflows.clearbit.clearbit_download_logo(*, company_url: str, file_path: str, size: int = 24, fmt: str = 'jpg') bool [source]
Download a company logo from the Clearbit Logo API tool: https://clearbit.com/logo. :param company_url: the URL of the company domain + suffix e.g. spotify.com :param file_path: the path where the file should be saved. :param size: the desired size (pixels) of the logo. :param fmt: the format of the logo, either jpg or png. :return: whether the logo was found or not.