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.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file digikala_api-0.1.0.tar.gz
.
File metadata
- Download URL: digikala_api-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d997c27b452ede8e9f51f957142142406aec9ac19f4befb6d4f1c769667949 |
|
MD5 | b89f7b8e1f1b5a1657a4e58302a26188 |
|
BLAKE2b-256 | 1c5fe9f67b2c3e02f9974a522406a262e3e00395b34fe85cf4f8e9c44e0c3f55 |
File details
Details for the file digikala_api-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: digikala_api-0.1.0-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 | 6031114c0d7e1c378460750fefed405ac5c82167b26abd5c896b0e167556d865 |
|
MD5 | 96070b7286a5f7e746d72a6389bd3ee6 |
|
BLAKE2b-256 | 657dce1164c5635fe1012f2dbb4a2c41d74623a52dc365fbdd521ea4bf2ad56c |