Skip to content

Latest commit

 

History

History

googlednsv2beta1.auto

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

googlednsv2beta1.auto

Google Cloud DNS API R library

Configures and serves authoritative DNS records. This is an R package autogenerated via googleAuthR's Discovery API builder. The Google Documentation for this API is here.

Features

  • Auto generated R functions for every method and object in the API
  • Passes CRAN checks in skeleton form
  • Auto-creates R package files via devtools
  • Auto-documentation of function arguments
  • Type-checking of passed objects
  • Ability to quickly add new features of the API as they are published.

Authentication

Set the appropriate Google API scopes:

library(googleAuthR)
library(googlednsv2beta1.auto)
options(googleAuthR.scopes.selected = c('https://www.googleapis.com/auth/cloud-platform', 'https://www.googleapis.com/auth/cloud-platform.read-only', 'https://www.googleapis.com/auth/ndev.clouddns.readonly', 'https://www.googleapis.com/auth/ndev.clouddns.readwrite'))

gar_auth()

See the documentation for the package starting at ?googlednsv2beta1.auto

Useage

The intention is for these auto-generated packages to be used as a basis for proper R packages suitable for CRAN. Fork this package, and then use the generated functions and objects to make what you need. Things you may want to do are:

  • Create parsing functions to make the API responses into more user-friendly forms
  • Create wrapper functions and objects around the API calls into more user-friendly forms
  • Create documentation, vignette's and examples