semvec/pypi-packages huggingface dataset:
pyglassdoor 0.5.0
A python API and Toolkit for Glassdoor.com.
License: BSD-2-Clause
Requires Python: >=3.7

===========
PyGlassdoor
===========



Overview
============

Python API for glassdoor.com.


Installation
~~~~~~~~~~~~

.. code:: bash

    pip install pyglassdoor


Example
~~~~~~~

The example below shows the code for downloading 20 reviews of Apple company.

First, we need the ``company_id`` of Apple. We can find this number in the URL link of
Apple's ``overview`` page on glassdoor.

https://www.glassdoor.com/Overview/Working-at-Apple-EI_IE1138.11,16.htm

``company_id`` for Apple is ``1138`` which is the number right after ``IE``.

.. code:: python

    import pyglassdoor as gd

    # download 20 reviews of APPLE Inc.
    query = gd.get_reviews(company_id=1138, records_to_collect=20)

    # query is in json format and contains all the information about reviews.
    # We can access the reviews as follows
    apple_reviews = query['employerReviews']['reviews']

    # and for example convert to dataframe
    df = pd.DataFrame(apple_reviews)

Documentation
=============


https://pyglassdoor.readthedocs.io/


Development
===========

To run all the tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox



Changelog
=========

0.5.0 (2023-01-10)
~~~~~~~~~~~~~~~~~~

* added features to interviews, and salaries queries, enabling the user to make more advanced requests
* enhanced the documentation
* updated codes for readability and efficiency


0.2.0 (2023-01-09)
~~~~~~~~~~~~~~~~~~

* reviews query updated to enhance user experience and make more granular queries

0.1.0 (2023-01-05)
~~~~~~~~~~~~~~~~~~

* added new features
* fixed bugs
* added preliminary documentation

0.0.2 (2023-01-01)
~~~~~~~~~~~~~~~~~~

* fixed bugs

0.0.1 (2022-12-30)
~~~~~~~~~~~~~~~~~~

* First release on PyPI