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


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for aiocian-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5c402d972630d07445cf67cab9073beca6f99e90369ea4e91e9ec9445177aab0
MD5 bf163b4af98556b329d44434a6694fe7
BLAKE2b-256 952f4bc6074fb33752bf79e50ccc2eab8dad41de9dd2a9f92001d255ebc421aa

See more details on using hashes here.

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

Hashes for aiocian-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ba6cdf7c5860c13f767ba03c28cdb025f27ffc98793c6f364e357406a7f39a61
MD5 153376e5342e4d4f959aa4141613a13f
BLAKE2b-256 64332e1287bed6a23e6ab10d4585e9a084b5dfec6e742f29520476820aaedb73

See more details on using hashes here.

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