Initial commit
This commit is contained in:
commit
3cba772836
1341 changed files with 532924 additions and 0 deletions
40
#alt_skripte/post_new_user.R
Normal file
40
#alt_skripte/post_new_user.R
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
library(formr)
|
||||
|
||||
formr_store_keys(host = "https://diagnostik.karneboge.de/api", client_id = "6be1cb43d9964516089238a292b30098", client_secret = "e10c32d15c5ad9ecf44dc17d3d997fd3e7fc4c4153478fec5006904a7056f02e")
|
||||
formr_api_authenticate(host = "https://diagnostik.karneboge.de/api")
|
||||
|
||||
|
||||
|
||||
pseudoID="4V8QodhlrGKifPKRdSpSFj-OFC4etlCvaa4GCQ1FAXE_PjDE7UdBCynDVa29guRu"
|
||||
|
||||
|
||||
|
||||
|
||||
#SKID 5 SPQ ####
|
||||
formr_api_create_session(
|
||||
"SKID5-SPQ",
|
||||
codes = pseudoID,
|
||||
testing = FALSE,
|
||||
verbose = TRUE
|
||||
)
|
||||
formr_api_logout(verbose = FALSE)
|
||||
|
||||
as.data.frame(
|
||||
formr_api_sessions(
|
||||
"SKID5-SPQ",
|
||||
session_codes = pseudoID,
|
||||
active = NULL,
|
||||
testing = NULL,
|
||||
limit = 1000,
|
||||
offset = 0,
|
||||
verbose = TRUE
|
||||
)
|
||||
)
|
||||
#BDI2 ####
|
||||
formr_api_create_session(
|
||||
"BDI2",
|
||||
codes = pseudoID,
|
||||
testing = FALSE,
|
||||
verbose = TRUE
|
||||
)
|
||||
formr_api_logout(verbose = FALSE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue