Skip to content
OpenSmartRoute
Skillv1.0.0

ramp-data-handling

Ramp data handling — corporate card and expense management API integration. Use when working with Ramp for card management, expenses, or accounting sync. Trigger with phrases like "ramp data handling"

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/ramp-data-handling/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill ramp-data-handling. Copyright stays with the author (MIT).

Ramp Data Handling

Overview

Implementation patterns for Ramp data handling using the Developer API with OAuth2 authentication.

Prerequisites

  • Completed ramp-install-auth setup

Instructions

Step 1: API Call Pattern

import os, requests

# Obtain token
token_resp = requests.post(f"{os.environ['RAMP_BASE_URL'].replace('/v1','')}/v1/token", data={
    "grant_type": "client_credentials",
    "client_id": os.environ["RAMP_CLIENT_ID"],
    "client_secret": os.environ["RAMP_CLIENT_SECRET"],
})
access_token = token_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {access_token}"}

cards = requests.get(f"{os.environ['RAMP_BASE_URL']}/cards", headers=headers)
print(f"Cards: {len(cards.json()['data'])}")

Output

  • Ramp API integration for data handling

Error Handling

Error Cause Solution
401 Unauthorized Expired token Re-authenticate
429 Rate Limited Too many requests Implement backoff
403 Forbidden Insufficient permissions Check API app permissions

Resources

Next Steps

See related Ramp skills for more workflows.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-ramp-data-handling/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-ramp-data-handling.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-ramp-data-handling",
  "kind": "skill",
  "name": "ramp-data-handling",
  "description": "Ramp data handling — corporate card and expense management API integration. Use when working with Ramp for card management, expenses, or accounting sync. Trigger with phrases like \"ramp data handling\", \"ramp-data-handling\", \"corporate card API\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding",
      "finance"
    ],
    "tags": [
      "skill-md",
      "saas",
      "ramp",
      "fintech",
      "expenses",
      "corporate-cards",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Ramp data handling — corporate card and expense management API integration. Use when working with Ramp for card management, expenses, or accounting sync. Trigger with phrases like \"ramp data handling\", \"ramp-data-handling\", \"corporate card API\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/ramp-data-handling/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/ramp-data-handling/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/ramp-data-handling/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Bash(curl:*),",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Ramp Data Handling\n\n## Overview\n\nImplementation patterns for Ramp data handling using the Developer API with OAuth2 authentication.\n\n## Prerequisites\n\n- Completed `ramp-install-auth` setup\n\n## Instructions\n\n### Step 1: API Call Pattern\n\n```python\nimport os, requests\n\n# Obtain token\ntoken_resp = requests.post(f\"{os.environ['RAMP_BASE_URL'].replace('/v1','')}/v1/token\", data={\n    \"grant_type\": \"client_credentials\",\n    \"client_id\": os.environ[\"RAMP_CLIENT_ID\"],\n    \"client_secret\": os.environ[\"RAMP_CLIENT_SECRET\"],\n})\naccess_token = token_resp.json()[\"access_token\"]\nheaders = {\"Authorization\"",
  "cost": {
    "context_tokens": 318
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-ramp-data-handling/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.