register_api_key: Registering/Validating User API key

Description Usage Arguments Value Examples

View source: R/key_func.R

Description

Obtain an API key from data.gov.in by registering on the platform. You can find it on your "My Account" page after logging in. Here is the official guide for your reference https://data.gov.in/help/how-use-datasets-apis

Usage

1
register_api_key(user_api_key, show_key = TRUE)

Arguments

user_api_key

API Key obtained from data.gov.in

show_key

Whether to API show key in messages

Value

Success/Failure of API key validation

Examples

1
2
3
4
## Not run: 
register_api_key(api_key=xxx,show_key=FALSE)

## End(Not run)

datagovindia documentation built on Sept. 27, 2021, 5:12 p.m.