Black Friday in 1 Tag: Können Ihre Kunden dann bezahlen? 25 % Rabatt im ersten Jahr und kostenlose Einrichtung, bis 30. NovemberZum Angebot →
Integration
Gem pathly von GitHub — dieselbe /v1-API.
Meinen API-Schlüssel holenOpenAPI-Vertrag
Vollständiges Dokument, ohne Authentifizierung, bereit für Ihren Client-Generator.
Gem pathly (GitHub pathlyhq/pathly-sdk-ruby). Dieselbe API-Oberfläche. Code bereits öffentlich.
Gemfile + create
# Gemfile
gem "pathly", git: "https://github.com/pathlyhq/pathly-sdk-ruby.git", tag: "v0.1.0"
# shell
export PATHLY_API_TOKEN=sp_…
bundle install
# app.rb
require "pathly"
client = Pathly::Client.new
scenario = client.create_scenario(
name: "Checkout",
url: "https://www.example.com/cart",
interval_sec: 300,
)
puts scenario.id