sckott / cchecksapi

CRAN checks API (DEFUNCT)
https://github.com/r-hub/cchecksbadges
MIT License
33 stars 1 forks source link

Example with shell for notifications token? #59

Closed maelle closed 4 years ago

maelle commented 4 years ago

What would be an example for https://github.com/ropenscilabs/cchecksapi/blob/notifications/docs/api_docs.md#notifications-token?

Especially as there's no endpoint for token in the heartbeat, or I'm missing something obvious?

sckott commented 4 years ago

that's the route used in cchn_register() function. it's hidden from heartbeat just because i didn't think anyone would use it outside of an R session. its pretty simple, its a GET request like /notifications/token?email=foo@bar.com - and the response is always the same as shown in the docs