Skip to main content

Official Midbound Cloud SDK for Python

Project description

midbound-cloud

Official Midbound Cloud SDK for Python.

Installation

pip install midbound-cloud

Usage

from midbound_cloud import Midbound

client = Midbound(api_key="your-api-key")

# Enrich a person by LinkedIn URL
result = client.enrich.person(linkedin_url="https://linkedin.com/in/example")
print(result)

Webhook Verification

from midbound_cloud import webhooks

# Verify a webhook signature
is_valid = webhooks.verify_signature(
    payload=request.body,
    signature=request.headers["x-midbound-signature"],
    secret=os.environ["WEBHOOK_SECRET"]
)

# Or construct a typed event
event = webhooks.construct_event(
    payload=request.body,
    signature=request.headers["x-midbound-signature"],
    secret=os.environ["WEBHOOK_SECRET"]
)
print(event["type"])  # e.g., "identity.resolved"

Documentation

Full documentation available at midbound.cloud/docs.

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

midbound_cloud-0.0.0.dev0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

midbound_cloud-0.0.0.dev0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file midbound_cloud-0.0.0.dev0.tar.gz.

File metadata

  • Download URL: midbound_cloud-0.0.0.dev0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for midbound_cloud-0.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 d1a2730864f99233e92360931e569f043e4ddeee4ab98da1968e525fa26030c2
MD5 8e87435f5f8d15c72eaafb34931d97f3
BLAKE2b-256 966dccb8eb4929ab97666d4a44d12d3c1cbb155478c7f935429d6a2fc3b5f3d2

See more details on using hashes here.

File details

Details for the file midbound_cloud-0.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for midbound_cloud-0.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 27eaafc6f45afb5e92255403cd9008d1396ea619fa116960f7c68897fd6c13a3
MD5 e5e7e1000a5e99782e39fc03dac03777
BLAKE2b-256 b58c6a13796e141eecc784594b6c3da167dc297a65ab394ee1251b655db1cada

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