Skip to content

This python package requests to Digikala API and gets a product detail.

License

Notifications You must be signed in to change notification settings

ILoveBacteria/digikala-api

Repository files navigation

Digikala API

PyPI - Version

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

About

This python package requests to Digikala API and gets a product detail.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages