<jupyter_start><jupyter_text>Hubspot - Get all contacts<jupyter_code>from naas_drivers import hubspot

# Enter your hubspot api key
auth_token = "<PASSWORD>_<PASSWORD>SPOT_API_KEY"

# Connect to hubspot
hs = hubspot.connect(auth_token)
# Get all contacts
df_contact = hs.contacts.get_all()
df_contact<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.0, 'mean_word_length': 7.7105263157894735, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '427838', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 125, 'n_tokens_neox': 122, 'n_words': 25, 'path': 'Hubspot/Hubspot_get_all_contacts.ipynb', 'repo_name': 'stjordanis/awesome-notebooks', 'size': '317'}