Setting Up External Connections (Github)
Whenever you post some data using `POST randapis.com/data`, randapis can
push your data to Github.
This will not only provide data redundancy, but also will ensure you own your own data,
and if randapis shuts down or you choose to stop using it, you can access your data.
The data posted to github will be in the same format as you push your data to randapis.
Set up a Github Connection
Steps
- (optional) Create a new repo on github.com, or use an existing repo
- Create a fine-grained personal access token (github)
-
- We *strongly* suggest creating a fine-grained access token as opposed to a general access token to limit token's authorization.
- We recommend long expiration dates to lower the chances of forgetting to renew.
- Only choose the repo that you want data to be stored. (We strongly discourage allowing all repos access for security reasons)
- Only give read and write access for "Contents" permission.
- Copy the token shown on Github (Github won't display this token again).
- Submit this token, your Github username and repo name to randapis.com
Example
Go to
external token management page, and enter your
own values for repo, username and token:
repo => randapis-data
username => awesome_gh_user
token => app_specific_github_token