Skip to main content

HH.ru wrapper library (jobs searching)

Project description

hhru

HH.ru wrapper library for Python.

There is providers for API and Web (Currently, not implemented)
For authentication, there is Anonymous mode, along with other authentications (currently, also not implemented)

Features

  • Anonymous vacancies searches via API

(There is currently boilerplates / not finished features for using authentication / web provider)

How to install

pip install hhru

Example usage

import hhru

# Default client, with `Anonymous` auth and `API` provider
client = hhru.Client()
# List first page of Python remote vacancies, sorted by new. 
# You can use strings as params or look into `consts` module
vacancies = client.search_vacancies_over_pages(
  text="Python",
  search_field="name",
  order_by="publication_time",
  schedule="remote",
)

Using web provider or custom authentication

# Client with web provider and given authentication data
# TODO: Currently, that will behave like API provider (no implementations for web)
client = hhru.Client(
  backend=hhru.BackendWebProvider(
    auth=DirectAuthProvider(
      login="login", 
      password="password"
    )
  )
)

References

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

hhru-0.1.1.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

hhru-0.1.1-py3-none-any.whl (15.1 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