1 unstable release
0.1.0 | Apr 17, 2023 |
---|
#62 in #webhook
32KB
766 lines
Quickstart
use std::str::FromStr;
use nodeless_rs::paywall::Paywall;
use nodeless_rs::webhook::{CreateWebhook, WebHookType, Webhook, WebhookEvent, WebhookStatus};
use url::Url;
use nodeless_rs::store::InvoiceRequest;
use nodeless_rs::Nodeless;
#[tokio::main]
async fn main() {
let api_key = "<api key>";
let nodeless = Nodeless::new(api_key, None).unwrap();
let _status = nodeless.get_server_status().await.unwrap();
}
Status
Implementation status of full API support:
Paywall Requests
Paywall Webhooks
- Get Paywall Webhooks
- Create Paywall Webhook
- Get Paywall Webhook
- Delete Paywall Webhook
- Update Paywall Webhook
Paywalls
Server Info
Store Invoices
Store Webhooks
Stores
Transactions
Dependencies
~5–18MB
~232K SLoC