blob: 54f6468b6689c5dae2c56a74cc09e9379ee17b4f [file] [log] [blame]
Marc Kupietze95108e2019-09-18 13:23:58 +02001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/KorAPConnection.R
3\docType{class}
4\name{KorAPConnection-class}
5\alias{KorAPConnection-class}
6\alias{KorAPConnection}
7\alias{initialize,KorAPConnection-method}
8\alias{show,KorAPConnection-method}
9\title{Class KorAPConnection}
10\usage{
11\S4method{initialize}{KorAPConnection}(.Object,
Marc Kupietzf94a6c82019-09-19 11:32:07 +020012 KorAPUrl = "https://korap.ids-mannheim.de/", apiVersion = "v1.0",
Marc Kupietz5a519822019-09-20 21:43:52 +020013 apiUrl, verbose = FALSE)
Marc Kupietze95108e2019-09-18 13:23:58 +020014
15\S4method{show}{KorAPConnection}(object)
16}
17\arguments{
18\item{.Object}{KorAPConnection object}
19
20\item{KorAPUrl}{the URL of the KorAP server instance you want to access.}
21
22\item{apiVersion}{which version of KorAP's API you want to connect to.}
23
24\item{apiUrl}{URL of the KorAP web service.}
25
Marc Kupietz5a519822019-09-20 21:43:52 +020026\item{verbose}{logical decides wether following operations will default to be verbose}
27
Marc Kupietze95108e2019-09-18 13:23:58 +020028\item{object}{KorAPConnection object}
29}
30\value{
31\code{\link{KorAPConnection}} object that can be used e.g. with \code{\link{corpusQuery}}
32}
33\description{
34\code{KorAPConnection} objetcs represent the connection to a KorAP server.
35New \code{KorAPConnection} objects can be created by \code{KorAPConnection()}
36}
37\note{
38Currently it is not possible to authenticate the client
39}
40\examples{
Marc Kupietz5a519822019-09-20 21:43:52 +020041kcon <- new("KorAPConnection", verbose = TRUE)
Marc Kupietze95108e2019-09-18 13:23:58 +020042kq <- corpusQuery(kcon, "Ameisenplage")
Marc Kupietz5a519822019-09-20 21:43:52 +020043kq <- fetchAll(kq)
Marc Kupietze95108e2019-09-18 13:23:58 +020044
45}