Pinterest-Generated-Client
Pinterest REST API
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you need direct, low-level access to Pinterest's REST API and are comfortable with an auto-generated client. However, the package's own documentation recommends an alternative SDK instead; evaluate that first. The package is actively maintained, has no known vulnerabilities, and carries permissive licensing. Low install friction and reasonable download volume suggest it is stable enough for production use, but treat it as a generated artifact rather than a polished, hand-maintained library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Pinterest OAuth2 access token to authenticate API requests.
- Low install friction with only two lightweight runtime dependencies (urllib3, python-dateutil).
- Active maintenance with recent commits; however, the package documentation explicitly recommends using the official Pinterest Python SDK instead of this generated client directly.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-09-15 (333 days) · last repo commit 2026-04-21 · 20 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 317,218 downloads/mo, #7,664 on PyPI
Alternatives
Verify before relying
pip install pinterest-generated-client
import urllib3
import python-dateutil
# Configure API client with OAuth2 token
configuration = Configuration(host="https://api.pinterest.com/v5")
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Make API calls through the generated client- Whether this generated client is kept in sync with Pinterest API schema changes or if drift occurs over time.
- Stability guarantees for the auto-generated API surface across minor version updates.
- Whether the recommendation to use an alternative SDK indicates planned deprecation or ongoing maintenance limitations.
- Actual Python version support, as requires_python is unspecified in the fact sheet.
What it is and what it does
This is an OpenAPI-generated Python client library for Pinterest's REST API. It provides typed bindings to Pinterest's ad account, analytics, and campaign management endpoints, allowing developers to query ad performance metrics, manage ad accounts, and retrieve conversion data programmatically. The package wraps HTTP calls and handles request/response serialization using urllib3 and python-dateutil.
The package is explicitly positioned as a low-level, auto-generated artifact rather than a user-facing SDK. Its own documentation directs users toward an alternative SDK for production use. The generated code exposes a large API surface covering ad accounts, analytics, MMM reports, targeting, and conversion attribution, but comes with typical code-generation trade-offs: minimal documentation beyond endpoint signatures and limited customization.
Use it for
- Retrieve ad account analytics and performance metrics for a specific date range and granularity level.
- Query conversion attribution data with configurable click, engagement, and view attribution windows.
- Programmatically access ad account details and create new ad accounts.
- Build internal tools or dashboards that consume Pinterest advertising data without writing raw HTTP requests.
- Integrate Pinterest campaign metrics into a larger analytics or reporting pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you need direct, low-level access to Pinterest's REST API and are comfortable with an auto-generated client. However, the package's own documentation recommends an alternative SDK instead; evaluate that first. The package is actively maintained, has no known vulnerabilities, and carries permissive licensing. Low install friction and reasonable download volume suggest it is stable enough for production use, but treat it as a generated artifact rather than a polished, hand-maintained library.
Install
pinterest-generated-client on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (urllib3, python-dateutil). Active maintenance with recent commits; however, the package documentation explicitly recommends using the official Pinterest Python SDK instead of this generated client directly.
Requires a valid Pinterest OAuth2 access token to authenticate API requests.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pinterest-generated-client
import urllib3
import python-dateutil
# Configure API client with OAuth2 token
configuration = Configuration(host="https://api.pinterest.com/v5")
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Make API calls through the generated client
Verify before relying
- Whether this generated client is kept in sync with Pinterest API schema changes or if drift occurs over time.
- Stability guarantees for the auto-generated API surface across minor version updates.
- Whether the recommendation to use an alternative SDK indicates planned deprecation or ongoing maintenance limitations.
- Actual Python version support, as requires_python is unspecified in the fact sheet.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesurllib3python-dateutil |
| Maintenance | Actively maintained 333 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 317,218 / month, #7,664 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pinterest_generated_client-0.1.11-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pinterest api client”
- Pinterest-Generated-ClientProvides auto-generated Python bindings for Pinterest's REST API,…
- pinterest-api-sdkPython client library for the Pinterest API that handles campaign…
- zernio-sdkUnified Python client for publishing social media posts across 16…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also pinterest-api-sdk · dub · facebook-business · tiktok-business-api-sdk-official · googleads · whylabs-client · twitter-ads · trieve-py-client · onelogin · klaviyo-api