nextx-sdk
Mã trong kho này được sinh tự động từ OpenAPI công khai. Đừng sửa tay — xem CONTRIBUTING.md.
Gọi NextX API từ Python, có kiểu đầy đủ (đồng bộ và async). Mã sinh từ /openapi.json
và chỉ gồm các tuyến đối tác gọi được.
pip install nextx-sdk
import os
from nextx_sdk import create_client, SANDBOX_URL
from nextx_sdk.api.crm import contacts_list
# Khoá API của workspace (tạo trong phần mềm NextX) — gửi ở header X-Api-Key
nx = create_client(api_key=os.environ["NEXTX_API_KEY"], base_url=SANDBOX_URL)
page = contacts_list.sync(client=nx, page_size=20)
for c in page.items or []:
print(c.full_name)
# async
page = await contacts_list.asyncio(client=nx, page_size=20)
Ứng dụng đối tác dùng OAuth 2.0: create_client(access_token=token) (gửi Authorization: Bearer).
- Python ≥ 3.11. Mỗi thao tác là một mô-đun trong
nextx_sdk.api.<phân hệ>với 4 hàm:sync,sync_detailed,asyncio,asyncio_detailed. Bản*_detailedtrả thêm mã trạng thái và header. - Mặc định gọi prod (
PROD_URL). Thử nghiệm thì dùngSANDBOX_URLvới khoá sandbox. - Mã trạng thái ngoài tài liệu ném
nextx_sdk.errors.UnexpectedStatus.
Tài liệu: https://developers.nextx.vn/docs/sdk · Phiên bản và bỏ dần: VERSIONING.md · Giấy phép MIT
Metadata
Release files for nextx-sdk 0.1.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 |
|---|---|---|---|---|
| nextx_sdk-0.1.0.tar.gz | 227.9 kB | With provenance | Details for nextx_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nextx_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nextx_sdk-0.1.0-py3-none-any.whl |
Total release size: 726.3 kB
Release files / nextx_sdk-0.1.0.tar.gz
| Download URL | nextx_sdk-0.1.0.tar.gz |
|---|---|
| Size | 227.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32abe08e6a3164e008129d0f7b039e5aac3b080e33e7465798973160e3185ba6
|
|
BLAKE2b-256 checksum How to use checksums |
29f79fa35c888cee6b2c07f87a0c24eac09aa108ccf23a342145bfe238c69f16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / nextx_sdk-0.1.0-py3-none-any.whl
| Download URL | nextx_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 498.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f2541d83778fc175b154b882dd4f79c3d63b1fe06ffe8f88de7039db5c2983b
|
|
BLAKE2b-256 checksum How to use checksums |
b9ff66ad9b40b8508237f48f3536e474cdef15ea17a1719f674865a779acf941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for nextx-sdk 0.1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nextx_sdk-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA 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.