The fast and free means for interacting with divar.
ir
- Ready
- Easy
- Fast
- Type-hinted
pip install git+https://github.com/amirfabo/divar.gitfrom divar import Client
client = Client("myapp")
# Get the last 100 posts from Mashhad
for post in client.get_posts(place_ids=3, limit=100):
print(post)
# Get contact info of a post (auth needed)
client.authorize()
post = client.get_post(token="TOKEN")
contact = post.contact()
print(contact)Use the links below to read usage with examples:
Your support helps us continue the development and maintenance of this project ❤️
TON or USDT (TON): UQDH6BLtvJheNdQNbrVyI3_4dbsDaoYsyiOHyYVL_ndJ3D7u
USDT (TRC20): TMXg6DL2y8EC9RfXRzonDYrRrviZMrVzaL
Telegram: @ItsFaBo