Skip to main content

An asynchronous Python wrapper for the Sepidar API Search.

Project description

##Sepidar Class Documentation## Overview The Sepidar class is designed for interacting with the Sepidar search API. It allows users to perform searches and manage search history efficiently.

Example Usage python Run

sepidar = Sepidar("Tatlo", page=1)
results = sepidar.search()
print(results)

Class Definition

Features Search Functionality: Perform searches using a specified query and page number. Dynamic User-Agent: Automatically generates a random User-Agent string for each request. Search History Management: Retrieve previous search queries. Clear search history. Save search queries to history during searches. Error Handling The class handles HTTP errors by checking the response status code and printing an error message if the request fails. It also catches exceptions related to request failures and prints an appropriate message. Conclusion The Sepidar class provides a simple and effective way to interact with the Sepidar search API, making it easy to perform searches and manage search history.

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

Sepidar-1.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Sepidar-1.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file Sepidar-1.1.0.tar.gz.

File metadata

  • Download URL: Sepidar-1.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for Sepidar-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0fc37f490b0f132861614aa17493f7bd9087ea177c255ea940ac0b91d23b704a
MD5 348f7bc21e4438b447c53eaed1a0478a
BLAKE2b-256 8a9eb7dea1e3bf0fc916197df0027f12eb99d54e79b047285d3e34ed8b463be8

See more details on using hashes here.

File details

Details for the file Sepidar-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: Sepidar-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for Sepidar-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df08a546ba42bb58c0ea894d049d201903201582f0dac90d6e722a27f2131700
MD5 020589fc58a29913e824ffd86c6019a0
BLAKE2b-256 6d430955326dc46abed1f471aab67b4900a348161ca95653a4d114d9b083269d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page