Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiocian, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size aiocian-0.0.1-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aiocian-0.0.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page