Skip to content

Commit 605fa12

Browse files
Add GDPR API call information links to R examples and .Renviron.example
- Included URL for GDPR compliance details in `.Renviron.example`, `AGENTS.md`, and R example scripts. - Enhanced comments to guide users on EU region API usage.
1 parent 202d1ac commit 605fa12

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

R/.Renviron.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ PDFREST_API_KEY=your_api_key_here
77
# Optional: override base URL
88
# For EU/GDPR or regional routing you may use:
99
# PDFREST_URL=https://eu-api.pdfrest.com/
10+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1011
PDFREST_URL=https://api.pdfrest.com

R/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Template:
7676
# - Set PDFREST_API_KEY=your_api_key_here
7777
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
7878
# PDFREST_URL=https://eu-api.pdfrest.com
79+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
7980
#
8081
# Usage:
8182
# Rscript "<relative path to this file>" /path/to/input.pdf

R/Complex Flow Examples/merge-different-file-types.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# - Set PDFREST_API_KEY=your_api_key_here
99
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
1010
# PDFREST_URL=https://eu-api.pdfrest.com
11+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1112
#
1213
# Usage:
1314
# Rscript "Complex Flow Examples/merge-different-file-types.R" /path/to/file1 /path/to/file2 [/path/to/file3 ...]

R/Endpoint Examples/JSON Payload/markdown.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# - Set PDFREST_API_KEY=your_api_key_here
99
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
1010
# PDFREST_URL=https://eu-api.pdfrest.com
11+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1112
#
1213
# Usage:
1314
# Rscript "Endpoint Examples/JSON Payload/markdown.R" /path/to/input.pdf

R/Endpoint Examples/JSON Payload/rasterized-pdf.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# - Set PDFREST_API_KEY=your_api_key_here
99
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
1010
# PDFREST_URL=https://eu-api.pdfrest.com
11+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1112
#
1213
# Usage:
1314
# Rscript "Endpoint Examples/JSON Payload/rasterized-pdf.R" /path/to/input.pdf

R/Endpoint Examples/Multipart Payload/markdown.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# - Set PDFREST_API_KEY=your_api_key_here
99
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
1010
# PDFREST_URL=https://eu-api.pdfrest.com
11+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1112
#
1213
# Usage:
1314
# Rscript "Endpoint Examples/Multipart Payload/markdown.R" /path/to/input.pdf

R/Endpoint Examples/Multipart Payload/rasterized-pdf.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# - Set PDFREST_API_KEY=your_api_key_here
99
# - Optional: set PDFREST_URL to override the API region. For EU/GDPR compliance and proximity, use:
1010
# PDFREST_URL=https://eu-api.pdfrest.com
11+
# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
1112
#
1213
# Usage:
1314
# Rscript "Endpoint Examples/Multipart Payload/rasterized-pdf.R" /path/to/input.pdf

0 commit comments

Comments
 (0)