python-pinterest
A simple Python wrapper for Pinterest REST API (Beta) (5.x) ✨ 🍰 ✨
Introduction
This library provides a service to easily use Pinterest REST API for v5.x.
And support Async And sync mode.
More docs has published on https://sns-sdks.lkhardy.cn/python-pinterest/
Using
The API is exposed via the pinterest.Api class and pinterest.AsyncApi class.
INSTANTIATE
You can initial an instance with access token:
# Sync >>> from pinterest import Api >>> p = Api(access_token="Your access token") # Async >>> from pinterest import AsyncApi >>> ap = AsyncApi(access_token="Your access token")
Usage
Get pin info:
# Sync >>> p.pins.get(pin_id="1022106077902810180") # Pin(id='1022106077902810180', created_at='2022-02-14T02:54:38') # Async >>> await ap.pins.get(pin_id="1022106077902810180") # Pin(id='1022106077902810180', created_at='2022-02-14T02:54:38')
More docs has published on https://sns-sdks.lkhardy.cn/python-pinterest/
TODO
Tests
Metadata
Release files for python-pinterest 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-pinterest-0.2.0.tar.gz | 19.2 kB | Without provenance | Details for python-pinterest-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_pinterest-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for python_pinterest-0.2.0-py3-none-any.whl |
Total release size: 49.6 kB
Release files / python-pinterest-0.2.0.tar.gz
| Download URL | python-pinterest-0.2.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a454922316391dbeb0eafb20959d8f51eb46e2249b98400796b193b3d57e51ae
|
|
BLAKE2b-256 checksum How to use checksums |
02e64ecb03c274aed456a7f7967dbca875aac76d65e3fa318b94b3dd4d0e9f0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
|
Release files / python_pinterest-0.2.0-py3-none-any.whl
| Download URL | python_pinterest-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a92b7223b8906d45614da0a4fd66aeb666a8f8f4864a7b9d6f45e9f8c0d30b33
|
|
BLAKE2b-256 checksum How to use checksums |
a0cc0d4763215f73a709c7ecc52fac07ac67f63453c3b79293c3afd81ecbb4cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
|
Security for python-pinterest 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.