View source: R/search_contacts.R
search_contacts | R Documentation |
Return the contacts information from Less annoying CRM.
search_contacts(user_code, api_token, search_term = "")
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" |
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.
## Not run:
search_contacts(user_code = "6A6E88",
api_token = "TQ9XM",
search_term = "brenesii")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.