Integration

Pathly Ruby-SDK

Gem pathly von GitHub — dieselbe /v1-API.

OpenAPI-VertragAPI-Schlüssel ausstellenKostenloses Solo-Konto

Vollständiges Dokument, ohne Authentifizierung, bereit für Ihren Client-Generator.

Ruby-SDK

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