Description Usage Arguments Value References Examples
View source: R/AmoCustomFields.R
Function to get custom field names and ids for all.
1 | AmoCustomFields(email = NULL, apikey = NULL, domain = NULL, auth_list = NULL)
|
email |
|
apikey |
Your api key from settings in interface |
domain |
Your domain in AmoCRM (xxx in xxx.amocrm.ru) |
auth_list |
List with auth data, you can build from AmoAuthList |
You'll get a list of list of dataframes which you can join by id.
list$custom_fields_xxx$custom_fields - ids and names
list$custom_fields_xxx$custom_fields_enum - multiple values
Please READ this: Function documentation in Russian on GitHub
Also nice to read: AmoCRM official documentation
1 2 3 4 5 6 7 | ## Not run:
library(dplyr)
custom_fields <- AmoCustomFields(auth_list = auth_list)
custom_fields_contacts_with_enum <- custom_field$custom_fields_contacts$custom_fields %>%
left_join(custom_field$custom_fields_contacts$custom_fields_enum, by = 'id') # not tidy
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.