Marc Kupietz | c616098 | 2025-06-24 15:57:51 +0200 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/KorAPConnection.R |
| 3 | \name{initialize,KorAPConnection-method} |
| 4 | \alias{initialize,KorAPConnection-method} |
| 5 | \title{Initialize KorAPConnection object} |
| 6 | \usage{ |
| 7 | \S4method{initialize}{KorAPConnection}( |
| 8 | .Object, |
| 9 | KorAPUrl = if (is.null(Sys.getenv("KORAP_URL")) | Sys.getenv("KORAP_URL") == "") { |
| 10 | |
| 11 | "https://korap.ids-mannheim.de/" |
| 12 | } else { |
| 13 | Sys.getenv("KORAP_URL") |
| 14 | }, |
| 15 | apiVersion = "v1.0", |
| 16 | apiUrl, |
| 17 | accessToken = getAccessToken(KorAPUrl), |
| 18 | oauthClient = NULL, |
| 19 | oauthScope = "search match_info", |
| 20 | authorizationSupported = TRUE, |
| 21 | userAgent = "R-KorAP-Client", |
| 22 | timeout = 240, |
| 23 | verbose = FALSE, |
| 24 | cache = TRUE |
| 25 | ) |
| 26 | } |
Marc Kupietz | c616098 | 2025-06-24 15:57:51 +0200 | [diff] [blame] | 27 | \description{ |
| 28 | Initialize KorAPConnection object |
| 29 | } |
Marc Kupietz | c616098 | 2025-06-24 15:57:51 +0200 | [diff] [blame] | 30 | \keyword{internal} |