search_contacts: search_contacts

View source: R/search_contacts.R

search_contactsR Documentation

search_contacts

Description

Return the contacts information from Less annoying CRM.

Usage

search_contacts(user_code, api_token, search_term = "")

Arguments

user_code

The user code to identify your account

api_token

The api token to connect to your account

search_term

The contact name or other term to make an specific call to the API. If you want to search for group enter "Group:GROUP_NAME"

Details

The function will return a data frame. The number of rows depends on the number of entries that a contact_id have in any of the following variables: phone, website, email, address. For example, there could be only 17 unique contact_id's, nonetheless, if one of those contact_id's have three emails, the final data frame will have 19 rows.

Examples

## Not run: 
search_contacts(user_code = "6A6E88",
               api_token = "TQ9XM",
               search_term = "brenesii")

## End(Not run)


ixpantia/lacrmr documentation built on Nov. 3, 2023, 5:42 a.m.