conexion.apicultur: Creates a connexion to the apicultur API

Description Usage Arguments Details Value Author(s) Examples

View source: R/conexion.apicultur.R

Description

This function creates a connexion to the apicultur API hiding the authorization code required to use it.

Usage

1
conexion.apicultur(auth.code = NA, file = NA)

Arguments

auth.code

character string providing the authorization code for using the API (see the details section below)

file

path to a file containing the authorization code

Details

The apicultur set of APIs provided by Molino de Ideas require registration for access. Free and non-free accounts are available (see http://www.apicultur.com/). Upon registration, an authorization code will be provided by Molino de Ideas. This code can be passed to this function prior to making calls to the APIs using other functions in the package by either passing it as a character string or storing it in a file and providing its path.

Value

A connection string required by other functions for accessing the apicultur APIs.

Author(s)

Carlos J. Gil Bellosta

Examples

1
2
3
4
5
6
7
  ## Not run: 

apicultur <- conexion.apicultur("8FRk...oa")
lematiza(apicultur, "casas")

  
## End(Not run)

apicultuR documentation built on May 2, 2019, 4:52 p.m.