AmoAuth: Authorization

Description Usage Arguments Value Examples

View source: R/AmoAuth.R

Description

Auth, using in other functions

Usage

1
2
3
4
5
6
7
AmoAuth(
  email = NULL,
  apikey = NULL,
  domain = NULL,
  auth_list = NULL,
  verbose = T
)

Arguments

email

Your email in AmoCRM, check xxx.amocrm.ru/settings/profile/

apikey

Your api key from settings in interface, check xxx.amocrm.ru/settings/profile/

domain

Your domain in AmoCRM (xxx in xxx.amocrm.ru)

auth_list

List with auth data, you can build from AmoAuthList

verbose

Printing the answer

Value

TRUE if ok and error if not

Examples

1
2
3
4
## Not run: 
AmoAuth(email = 'test@test.ru', apikey = 'jadbfjeabfkj', domain = 'test')

## End(Not run)

grkhr/amocrm documentation built on May 24, 2021, 5:24 a.m.