Search by

neovav / hh.ru-api

neovav

Api hh.ru

Package info

github.com/neovav/hh.ru-api

pkg:composer/neovav/hh.ru-api

Statistics

Installs: 38

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.2 2021-02-11 00:01 UTC

This package is auto-updated.

Last update: 2026-10-20 04:25:32 UTC


README

This is library for access to hh.ru Api

Tests:

  1. To get $authCode go to the following link in your browser: https://hh.ru/oauth/authorize?response_type=code&client_id={client_id}&state={state}&redirect_uri={redirect_uri}
  2. Copy file: tests/.env-sample to tests/.env and change values
  3. Build docker container:
docker build -t hh.ru-api .
  1. Launch test file:

    a. For testing oAuth:

    docker run --env-file tests/.env hh.ru-api php -f tests/checkoAuth.php

    b. For testing vacancies:

    docker run --env-file tests/.env hh.ru-api php -f tests/vacancies.php

    c. For testing personal:

    docker run --env-file tests/.env hh.ru-api php -f tests/personal.php

    d. For testing active vacancies:

    docker run --env-file tests/.env hh.ru-api php -f tests/vacancies_active.php

    e. For testing negotiation:

    docker run --env-file tests/.env hh.ru-api php -f tests/vacancies_active.php

Using in your projects:

  1. Install package using composer:
composer require neovav/hh.ru-api:1.0.4