{"id":22712041,"url":"https://github.com/buildit/job-listings","last_synced_at":"2025-03-29T22:21:26.666Z","repository":{"id":31440743,"uuid":"127009159","full_name":"buildit/job-listings","owner":"buildit","description":"Small JS library for fetching buildit job listings data from SmartRecruiter's API","archived":false,"fork":false,"pushed_at":"2023-01-03T15:15:50.000Z","size":1143,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-04T23:31:06.229Z","etag":null,"topics":["buildit","jobs","recruitment","smartrecruiters"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-27T15:36:04.000Z","updated_at":"2023-05-12T16:50:37.000Z","dependencies_parsed_at":"2023-01-14T19:15:41.933Z","dependency_job_id":null,"html_url":"https://github.com/buildit/job-listings","commit_stats":null,"previous_names":["buildit/fetch-job-listings"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Fjob-listings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Fjob-listings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Fjob-listings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Fjob-listings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildit","download_url":"https://codeload.github.com/buildit/job-listings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246250084,"owners_count":20747292,"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":["buildit","jobs","recruitment","smartrecruiters"],"created_at":"2024-12-10T13:09:15.044Z","updated_at":"2025-03-29T22:21:26.643Z","avatar_url":"https://github.com/buildit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# job-listings\nSmall JS library for fetching Buildit job listings data from SmartRecruiter's API.\n\n## Installation\n\n```sh\nnpm install --save @buildit/job-listings\n```\n\n## Usage\n\n```js\n// Import library\nconst JobListings = require('@buildit/job-listings');\n\n// Fetch the latest Buildit job listings from SmartRecruiters' API.\n// Note that getBuilditJobPostings() returns a Promise, which resolves\n// to an array of job postings.\nJobListings.getBuilditJobPostings()\n  .then((jobs) =\u003e {\n    jobs.forEach((job) =\u003e {\n\n      console.log(job.title);\n      // E.g. \"Software Engineer\"\n\n      console.log(job.experienceLevel);\n      // E.g. \"Mid-Senior Level\"\n      \n      console.log(job.typeOfEmployment);\n      // E.g. \"Full-time\"\n\n      console.log(job.location.city);\n      // E.g. \"Dublin\"\n\n      console.log(job.location.country);\n      // E.g. \"Ireland\"\n\n      console.log(job.url);\n      // Outputs full URL to job ad page on SmartRecruiters,\n      // including the \"Buildit website\" tracking ID.\n    });\n  })\n  .catch((err) =\u003e {\n    // Handle errors\n  });\n```\n\nCurrently, the library only exports the asynchronous `getBuilditJobPostings()` function. More functionality may be added in future - please raise an issue or a PR to let us know what you need.\n\n## Development\n\n### Setup\n\n1. Make sure you are using correct Node version (8.x LTS aka \"Carbon\" or later)\n    * If you have NVM, you can do `nvm use`\n1. Install dev dependencies\n    * `npm install`\n\n...and you're all set!\n\n### Coding conventions\n\nThe source code is located in the `src/` directory. It's ES6 style JavaScript and follows [AirBnb's coding standards](https://github.com/airbnb/javascript).\n\nOur [Jest](https://facebook.github.io/jest/) unit tests sit in the `__tests__` folder and use the following file naming convention: `[module name].test.js`. We have 100% code coverage and aim to maintain that.\n\n### Building\n\nWe use [Babel](https://babeljs.io/) to transpile into Node-compatible, CommonJS-style code for distribution via NPM:\n\n```sh\nnpm run build\n```\n\nYou can also watch the source files and automatically transpile them on changes:\n\n```sh\nnpm run watch\n```\n\n### Linting and testing\n\nTo lint the code:\n\n```sh\nnpm run lint\n```\n\nTo run tests:\n\n```sh\nnpm run test\n```\n\n### Contributing\n\nContributions of all shapes and sizes are welcome!\n\nIf you create PRs, please make sure you're code lints and tests with no errors before asking for a review. Thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Fjob-listings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildit%2Fjob-listings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Fjob-listings/lists"}