A lightweight SDK for interacting with Porsline forms and responses
Project description
Porsline SDK
A lightweight Python SDK to interact with Porsline forms and convert Jalali dates to Gregorian.
Features
Fetch and parse form data from Porsline
Convert Jalali dates to Gregorian
Designed for integration with surveys
Installation
pip install porsline-sdk
Usage
from porsline import Porsline
instance = Porsline(API_KEY)
all_forms = instance.get_forms()
form = instance.get_form(all_forms[0].id)
print(form.cols)
print(form.responses()) # To get all responses
print(form.responses('2025-05-19T10:32:16')) # to get from one point
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
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 porsline_sdk-0.1.1.tar.gz.
File metadata
- Download URL: porsline_sdk-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27298c5e523023cd8310d6b6f10a4f1e82d70fb2183950c5ae8b17ba9e6b4917
|
|
| MD5 |
5dd9e2a2ea8b97d93e33b43caa97e98f
|
|
| BLAKE2b-256 |
06a74f58792079b93bbc3a6c5adfc14ec9ac6191a72c7020ea4034e5e55e7583
|
File details
Details for the file porsline_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: porsline_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cffb95baf2ca6aa66ab73d56dd8aaf739dd14916b9e350e94b2a29aa9d98aae8
|
|
| MD5 |
b07ee2bb85e200273966a6230cc3618b
|
|
| BLAKE2b-256 |
1069500ad639066d7ba89ee9b0425320b7e665665a14e3f007fc913a41df2edc
|