Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.3%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: Arnold-Kakas
- License: other
- Language: R
- Default Branch: master
- Homepage: https://arnold-kakas.github.io/paddleR/
- Size: 644 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Created about 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# paddleR
## 📦 About paddleR
The goal of paddleR is to provide a comprehensive and user-friendly R interface to the Paddle API, enabling seamless integration with Paddle’s powerful billing and subscription management platform.
This R package provides a robust interface to the Paddle API, enabling developers, analysts, and product teams to interact with Paddle's billing and subscription platform directly from R.
The package allows you to:
* Create, retrieve, and update customers
* Generate authentication tokens for Paddle.js checkout flows
* Query customer lists with filters and pagination
* Retrieve subscription details, including status and history
* Manage products
* Manage invoices
* Many more
## Installation
You can install the development version of paddleR from [GitHub](https://github.com/) or stable version from CRAN with:
```{r}
#| eval = FALSE
# install development version from GitHub
# devtools::install_github("Arnold-Kakas/paddleR")
install.packages("paddleR")
library(paddleR)
```
## Modes
The package supports two modes of operation:
* Live mode (default): connects to the production Paddle API
* Sandbox mode: connects to the Paddle sandbox environment for testing
You can toggle modes using:
```{r}
#| eval = FALSE
set_paddle_mode("sandbox") # or "live"
```
All API endpoints automatically adjust their base URL and authentication based on the selected mode.
## 🔐 API Key Configuration
To authenticate with the Paddle API, you must set your API key(s) as environment variables. You have two options:
### Option 1: Use a single key
Set PADDLE_KEY to the appropriate key for your current mode.
```{r}
#| eval = FALSE
Sys.setenv(PADDLE_KEY = "your-live-or-sandbox-key") # or use .Renviron file
```
## Option 2 (Recommended): Use separate keys for live and sandbox
Set both PADDLE_KEY_LIVE and PADDLE_KEY_SANDBOX, and the package will automatically use the correct one based on the selected mode.
```{r}
#| eval = FALSE
Sys.setenv(PADDLE_KEY_LIVE = "your-live-key")
Sys.setenv(PADDLE_KEY_SANDBOX = "your-sandbox-key")
```
API keys must have the appropriate permissions based on the Paddle endpoint you are accessing. Refer to the official [Paddle API docs](https://developer.paddle.com/api-reference/overview) for required scopes.
## API coverage
The package currently supports the following Paddle API endpoint categories:
- Customers
- Products
- Subscriptions
- Invoices
- Events
Missing an endpoint? Please open an issue on GitHub or submit a pull request. At this moment there are several endpoint categories that are not yet implemented, including:
- Notifications
- Notification Settings
- Adjustments
- Few endpoints from higher mentioned categories
Owner
- Login: Arnold-Kakas
- Kind: user
- Repositories: 1
- Profile: https://github.com/Arnold-Kakas
GitHub Events
Total
- Issues event: 3
- Push event: 33
Last Year
- Issues event: 3
- Push event: 33
Issues and Pull Requests
Last synced: 10 months ago
Packages
- Total packages: 1
-
Total downloads:
- cran 488 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: paddleR
Wrapper for 'Paddle' API (Application Programming Interface)
- Homepage: https://arnold-kakas.github.io/paddleR/
- Documentation: http://cran.r-project.org/web/packages/paddleR/paddleR.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.2
published about 1 year ago
Rankings
Dependent packages count: 26.2%
Dependent repos count: 32.2%
Average: 48.3%
Downloads: 86.5%
Maintainers (1)
Last synced:
10 months ago
Dependencies
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 4.1.0 depends
- httr2 * imports
- rlang * imports
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests