{"id":18463850,"url":"https://github.com/smartive/proc-that-rest-extractor","last_synced_at":"2025-04-08T07:32:50.149Z","repository":{"id":57330819,"uuid":"54880223","full_name":"smartive/proc-that-rest-extractor","owner":"smartive","description":"Extractor for proc-that. Loads items from REST APIs","archived":false,"fork":false,"pushed_at":"2025-03-13T03:43:23.000Z","size":315,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T19:49:46.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://smartive.github.io/proc-that-rest-extractor","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-28T09:04:01.000Z","updated_at":"2023-01-31T16:42:22.000Z","dependencies_parsed_at":"2023-01-30T00:31:00.605Z","dependency_job_id":null,"html_url":"https://github.com/smartive/proc-that-rest-extractor","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartive%2Fproc-that-rest-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartive%2Fproc-that-rest-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartive%2Fproc-that-rest-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartive%2Fproc-that-rest-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartive","download_url":"https://codeload.github.com/smartive/proc-that-rest-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247796352,"owners_count":20997553,"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":[],"created_at":"2024-11-06T09:08:08.748Z","updated_at":"2025-04-08T07:32:49.857Z","avatar_url":"https://github.com/smartive.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RestExtractor\n\nModular extractor for `proc-that`. Loads items from REST APIs via http requests.\nUses [restler](https://github.com/danwrong/restler) for downloading resources.\n\n##### A bunch of badges\n\n[![Build Status](https://travis-ci.org/smartive/proc-that-rest-extractor.svg?maxAge=3600)](https://travis-ci.org/smartive/proc-that-rest-extractor)\n[![Build Status](https://ci.appveyor.com/api/projects/status/8juee9m6sycve394?svg=true)](https://ci.appveyor.com/project/buehler/proc-that-rest-extractor)\n[![npm](https://img.shields.io/npm/v/proc-that-rest-extractor.svg?maxAge=3600)](https://www.npmjs.com/package/proc-that-rest-extractor)\n[![Coverage status](https://img.shields.io/coveralls/smartive/proc-that-rest-extractor.svg?maxAge=3600)](https://coveralls.io/github/smartive/proc-that-rest-extractor)\n[![license](https://img.shields.io/github/license/smartive/proc-that-rest-extractor.svg?maxAge=2592000)](https://github.com/smartive/proc-that-rest-extractor)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Greenkeeper badge](https://badges.greenkeeper.io/smartive/proc-that-rest-extractor.svg)](https://greenkeeper.io/)\n\n## Installation\n\n```bash\nnpm install --save proc-that-rest-extractor\n```\n\n## Usage\n\n```typescript\nimport {Etl} from 'proc-that';\nimport {RestExtractor} from 'proc-that-rest-extractor';\n\nlet extractor = new RestExtractor('http://my-rest-url.com/posts');\n\nnew Etl().addExtractor(extractor).start().subscribe(/*...*/);\n```\n\n### Custom result set\n\nIf the called API delivers a masked result (i.e. a JSON object with a `data` property)\nyou can pass a function into the constructor that is called on the result.\n\n```typescript\nimport {Etl} from 'proc-that';\nimport {RestExtractor, RestExtractorMethod} from 'proc-that-rest-extractor';\n\nlet extractor = new RestExtractor('http://my-rest-url.com/posts', RestExtractorMethod.Get, result =\u003e result.data);\n\nnew Etl().addExtractor(extractor).start().subscribe(/*...*/);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartive%2Fproc-that-rest-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartive%2Fproc-that-rest-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartive%2Fproc-that-rest-extractor/lists"}