With this package you can easily access the Digikala API to get information about products details.
Project description
Digikala API
Request to Digikala API and get a product detail.
Example
product_detail
function gets a product ID and returns a Product
object.
ipad_pro = product_detail('15889042')
print(ipad_pro)
# Output: 'Apple iPad Pro 2024 M4 Wi-Fi 11 Inch Tablet 256GB and 8GB Ram'
Product
class contains these attributes:
- id
- english_name
- persian_name
- price
- url
- image_url
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
digikala_api-0.1.1.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file digikala_api-0.1.1.tar.gz
.
File metadata
- Download URL: digikala_api-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86f48dbde51058707519bfd132eb1249909ff66cb114f6b656130b4b21ad162 |
|
MD5 | c33c964dec4aeec5e93d6b97cc208018 |
|
BLAKE2b-256 | 527108b8f7704b179f22c0883602cde81554217863128d2dd408bc8ff1a21930 |
File details
Details for the file digikala_api-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: digikala_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3e56e3c3e9d9359c29281ab1fa51b8878db95c022322f586f6477a3c574fdb |
|
MD5 | a46c80c8db394a2f2f0595e35540c883 |
|
BLAKE2b-256 | 0e01e336e54e4369d5992dd1ffac04539930c2a996d853b99bdb7ca09dbed708 |