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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocian-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a872c6852d5a3ec85b31f2482f5215331dbaacb5836192b10707ff5d29a5bc9f
MD5 92a6d330670819b94895011e39b9d742
BLAKE2b-256 afda30a494f27ac11bd082b0f21522e3d961339444b5ad83dc88361f0cd6b5cd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: aiocian-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fce4dcd7866700a4172edaf0d98bf2e32bd821f6b9341e258e3600634c4cd34a
MD5 393d14be9b098052f5b995b275e88745
BLAKE2b-256 2d11edd0e2ca5be34f4534a4aedd0a060d1f5b3a6d4fef0b0627d75745abe76c

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