{"id":16344466,"url":"https://github.com/siddhant-k-code/greenhouse-data-exporter","last_synced_at":"2025-11-06T19:30:36.462Z","repository":{"id":242186358,"uuid":"808906146","full_name":"Siddhant-K-code/greenhouse-data-exporter","owner":"Siddhant-K-code","description":"Python script to export greenhouse data to csv","archived":false,"fork":false,"pushed_at":"2024-06-01T06:58:54.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T03:09:30.864Z","etag":null,"topics":["data-export","data-extraction","gitpod","greenhouse","harvest-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Siddhant-K-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-01T05:57:54.000Z","updated_at":"2024-06-01T06:58:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"31c3bde6-bed0-47dd-9254-6164569709ca","html_url":"https://github.com/Siddhant-K-code/greenhouse-data-exporter","commit_stats":null,"previous_names":["siddhant-k-code/greenhouse-data-exporter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgreenhouse-data-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgreenhouse-data-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgreenhouse-data-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgreenhouse-data-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddhant-K-code","download_url":"https://codeload.github.com/Siddhant-K-code/greenhouse-data-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239501953,"owners_count":19649558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-export","data-extraction","gitpod","greenhouse","harvest-api","python"],"created_at":"2024-10-11T00:28:25.805Z","updated_at":"2025-11-06T19:30:36.322Z","avatar_url":"https://github.com/Siddhant-K-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Greenhouse Data Export Script 📊\n\nThis project provides a Python script to fetch and export candidate data from Greenhouse.io using their Harvest API. The script collects candidate details, notes, scorecards, attributes, and questions, then saves this data into a CSV file. Finally, the CSV file is converted into an Excel file for easy access and analysis.\n\n## Features ✨\n\n- Fetch candidate applications after a specific date 📅\n- Retrieve detailed candidate information including email addresses 📧\n- Collect candidate notes and activity feed 📝\n- Fetch and combine scorecards, attributes, and questions 📋\n- Save the data into a CSV file and convert it to an Excel file 📂\n\n## One-click setup ⚡️\n\nYou can run this in [Gitpod](https://www.gitpod.io):\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Siddhant-K-code/greenhouse-data-exporter)\n\n## Manual setup 🐌\n\n### Requirements 📦\n\n- Python 3.6 or higher\n- pandas\n- requests\n- openpyxl\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/siddhant-k-code/greenhouse-data-exporter.git\n   cd greenhouse-data-exporter\n   ```\n\n2. **Install dependencies**:\n\n   ```bash\n   pip install pandas requests openpyxl\n   ```\n\n## Usage 🚀\n\n1. **Set your Greenhouse API token**:\n   Open the script `greenhouse_export.py` and set your API token in the `API_TOKEN` variable: ([docs ref](https://support.greenhouse.io/hc/en-us/articles/202842799-Create-an-API-key-in-Greenhouse-Recruiting))\n\n   ```python\n   API_TOKEN = 'your_api_token_here'\n   ```\n\n2. **Run the script**:\n\n   ```bash\n   python greenhouse_export.py\n   ```\n\n   Then, you can convert the CSV file to an Excel file using the following command:\n\n   ```bash\n   python csv_to_excel.py greenhouse_candidates_after_\u003cdate\u003e.csv\n   ```\n\n3. **Check the output**:\n   The script will create two files:\n\n   - `greenhouse_candidates_after_\u003cdate\u003e.csv`\n   - `greenhouse_candidates_after_\u003cdate\u003e.xlsx`\n\n   You can find these files in the project directory.\n\n## Script Details 🔍\n\nThe script performs the following steps:\n\n1. **Fetch Applications**:\n   Retrieves candidate applications created after a specified date from Greenhouse.\n\n2. **Fetch Candidate Details**:\n   Collects email addresses and other candidate information.\n\n3. **Fetch Notes**:\n   Gathers notes and activity feed for each candidate.\n\n4. **Fetch Scorecards**:\n   Retrieves scorecards, attributes, and questions for each application.\n\n5. **Combine Data**:\n   Merges notes, scorecards, attributes, and questions into a single string.\n\n6. **Save to CSV and Excel**:\n   Writes the data into a CSV file and converts it to an Excel file.\n\n## Example Output 📁\n\nHere is an example of the output structure:\n\n| Job opening id | Email address        | Activity date        | Notes                                                                                                                                                                                                                               |\n| -------------- | -------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 12345          | john.doe@example.com | 2024-03-24T00:00:00Z | Note 1 (Date: 2024-03-24T00:00:00Z) \u003cbr\u003e\u003cbr\u003e Scorecard 1:\u003cbr\u003e Overall Recommendation: yes Scorecard 2: Good \u003cbr\u003e \u003cbr\u003eAttributes:\u003cbr\u003e Communication: strong_yes \u003cbr\u003e\u003cbr\u003e Questions:\u003cbr\u003e Why do you want this job?: To make an impact |\n| 67890          | jane.doe@example.com | 2024-03-25T00:00:00Z | Note 2 (Date: 2024-03-25T00:00:00Z)                                                                                                                                                                                                 |\n\n## Acknowledgments 🙌\n\n- Thanks to Greenhouse.io for their [comprehensive API documentation](https://developers.greenhouse.io/harvest.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fgreenhouse-data-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhant-k-code%2Fgreenhouse-data-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fgreenhouse-data-exporter/lists"}