Skip to main content

Client SDK for the CodedProjects AI ApiMapper Runtime

Project description

api-mapper-client

Python SDK for discovering and invoking AI ApiMapper Runtime tools from Python applications and agents.

Install

pip install api-mapper-client

Optional integrations:

pip install "api-mapper-client[langchain]"
pip install "api-mapper-client[langgraph]"
pip install "api-mapper-client[all]"

What it provides

  • runtime tool discovery,
  • runtime system prompt loading,
  • tool invocation over MCP-compatible HTTP endpoints,
  • API key, delegated bearer token, and OAuth2 client credentials authentication helpers,
  • optional LangChain and LangGraph integration helpers.

Quick start

import uuid

from api_mapper_client import ApiMapperClient, ApiMapperClientOptions
from api_mapper_client.auth.api_key import ApiKeyCredentialProvider

client = ApiMapperClient(
    ApiMapperClientOptions(
        base_url="https://runtime.example.com",
        tenant_id=uuid.UUID("11111111-1111-1111-1111-111111111111"),
        client_id="my-ai-client",
        credentials=ApiKeyCredentialProvider("replace-with-your-api-key"),
    )
)

tools = await client.get_tools()
print([tool.name for tool in tools])

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

api_mapper_client-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

api_mapper_client-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file api_mapper_client-1.0.0.tar.gz.

File metadata

  • Download URL: api_mapper_client-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for api_mapper_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c0609ade0a1e7565a807abc71b50953f8d90d827a8eeee7576a17d912def47c
MD5 1bcc490b8c3f9a0e0a929eedc2221405
BLAKE2b-256 22f95e91e382121fcbe2c8ea4eba9e9a64f385bb2bffec0ae548aeb1cd783f52

See more details on using hashes here.

File details

Details for the file api_mapper_client-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for api_mapper_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31c83b69242790166b0d7375dd826f5e6d08d41fa30aee8192c8db4137ea80cb
MD5 6a4e13fae7f138900f1fe4396661628b
BLAKE2b-256 5c9e258b0e49425646ef69b394fc609c3cbde41d7e870057f7d2eb860b8e18f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page