bheavner / minidtools

A R package for working with BDDS minids
Other
1 stars 0 forks source link

add register_user() #13

Closed bheavner closed 6 years ago

bheavner commented 6 years ago

same as python's minid --register_user --email <email> --name <name> [--orcid <orcid>]

bheavner commented 6 years ago

This is behaving for validating a registered user's code.:

httr::PUT("http://minid.bd2k.org/minid/user",
          body = list(email = email(config),
                       name = user(config),
                       orcid = orcid(config),
                       code = code(config)),
          encode = "json",
          httr::verbose())