A lightweight Python wrapper for the Attio API.
Project description
A lightweight Python wrapper for the Attio API.
🚀 Installation
You can install py-attio from PyPI using pip:
pip install py-attio
🔧 Usage
Example: Retrieving a list of Objects
import py_attio
client = py_attio.Client("ATTIO_API_KEY")
objects = client.list_objects()
print(objects)
Example: Creating a Record
import py_attio
client = py_attio.Client("ATTIO_API_KEY")
object = "companies"
payload = {"data": {"values": {"domains": ["example.com"]}}}
client.create_record(object, payload)
Example: Viewing access token metadata
import py_attio
client = py_attio.Client("ATTIO_API_KEY")
print(client.identify_self())
⛓ Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_attio-0.5.1.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_attio-0.5.1.tar.gz.
File metadata
- Download URL: py_attio-0.5.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b147177df3d4dd18a36293001f469e7c702569fbaaedbb68c12364790e95a51
|
|
| MD5 |
63aab630b6a71247f4b370ef50acc247
|
|
| BLAKE2b-256 |
a736bc93c12a0e1a7fb78d3414bbe3bdae81147fb177cff68b1dc03ac9f747c6
|
File details
Details for the file py_attio-0.5.1-py3-none-any.whl.
File metadata
- Download URL: py_attio-0.5.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caeecc408ab3e916bc4ebe7f57b98158c1f9f774ad4651b88325e0105d395582
|
|
| MD5 |
6afcc78a6ef7769417b7f58f4343fcb8
|
|
| BLAKE2b-256 |
da4f70715e8e4d217b41c96ada26d412a95b9706b67ebecafd22f5f82bc3663f
|