Skip to main content

No project description provided

Project description

aiocian

MIT license built with Python3

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)


loop = asyncio.get_event_loop()
loop.run_until_complete(main)
loop.close()

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

aiocian-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

aiocian-0.0.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file aiocian-0.0.1.tar.gz.

File metadata

  • Download URL: aiocian-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for aiocian-0.0.1.tar.gz
Algorithm Hash digest
SHA256 38f524c4774e0ea48393ed0769bbedd69057ced5423cf7cdf7b5ca1b12d095e5
MD5 0e792e47c4f63ad559d427aba68b9aef
BLAKE2b-256 41172ab732287f733bc276274681d6cd109bbb649ca8b8a760f333e780b564c4

See more details on using hashes here.

Provenance

File details

Details for the file aiocian-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aiocian-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for aiocian-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02be9036a91aced6ae0fce658f71c05f103f7cee91a3abc12ed0b85a98bd33a6
MD5 8255336e4004289880d398368c72abfc
BLAKE2b-256 78c0ca1e12ff1adf92bcb73652dfe5562ad7f605d095eec3856e176004833a23

See more details on using hashes here.

Provenance

Supported by

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