No project description provided
Project description
aiocian
Description
Unofficial library for interaction with Cian
Contents
Release Notes
Version 0.0.1
- Created library
- Add simple search
Getting Started
Installation from pip
For installation botovod library from pip you should have pip with python (prefer python3.6 or later)
pip install aiocian
Installation from GitHub
To basic installation from GitHub repository you should have git, python3 (prefer python3.6 or later), pip (optionally) in your system
git clone https://github.com/OlegYurchik/aiocian.git
cd aiocian
pip install .
or
git clone https://github.com/OlegYurchik/aiocian.git
cd aiocian
python setup.py install
Quick Start
After installation, you can use the library in your code. Below is a sneak example of using the library
from aiocian import BUY, CianClient, FLAT, SPB
import asyncio
async def main():
async with CianClient() as client:
search = client.search(region=SPB, action=BUY, places=(FLAT,))
async for result in search:
print(result.url)
loop = asyncio.get_event_loop()
loop.run_until_complete(main)
loop.close()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiocian-0.0.3.tar.gz.
File metadata
- Download URL: aiocian-0.0.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c402d972630d07445cf67cab9073beca6f99e90369ea4e91e9ec9445177aab0
|
|
| MD5 |
bf163b4af98556b329d44434a6694fe7
|
|
| BLAKE2b-256 |
952f4bc6074fb33752bf79e50ccc2eab8dad41de9dd2a9f92001d255ebc421aa
|
File details
Details for the file aiocian-0.0.3-py3-none-any.whl.
File metadata
- Download URL: aiocian-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba6cdf7c5860c13f767ba03c28cdb025f27ffc98793c6f364e357406a7f39a61
|
|
| MD5 |
153376e5342e4d4f959aa4141613a13f
|
|
| BLAKE2b-256 |
64332e1287bed6a23e6ab10d4585e9a084b5dfec6e742f29520476820aaedb73
|