Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box API and datetimes #184

Open
ijlyttle opened this issue Sep 20, 2020 · 0 comments
Open

Box API and datetimes #184

ijlyttle opened this issue Sep 20, 2020 · 0 comments

Comments

@ijlyttle
Copy link
Member

ijlyttle commented Sep 20, 2020

We have an internal helper-function box_datetime() to parse the the Box datetime format (variation on ISO-8601) into an R POSIXct.

We use this helper manually when parsing responses.

Looking at a bunch of sample API responses at Box, they seem to have an implied contract on names: if it ends with _at it's a datetime - if not, it's not.

It may be interesting to see if we could take advantage of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant