Skip to main content

No project description provided

None

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.url)


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

Project details

None

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.3.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

aiocian-0.0.3-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

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