{"id":19059935,"url":"https://github.com/q-m/rest-scrapyd","last_synced_at":"2025-06-15T04:04:53.887Z","repository":{"id":27654329,"uuid":"31139784","full_name":"q-m/rest-scrapyd","owner":"q-m","description":"Ruby client for the Scrapyd REST API","archived":false,"fork":false,"pushed_at":"2015-08-04T08:02:39.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-17T22:52:53.662Z","etag":null,"topics":["rest","ruby","scraping","scrapy"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/q-m.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":"2015-02-21T20:29:18.000Z","updated_at":"2024-03-28T22:20:56.000Z","dependencies_parsed_at":"2022-07-18T23:02:40.167Z","dependency_job_id":null,"html_url":"https://github.com/q-m/rest-scrapyd","commit_stats":null,"previous_names":["wvengen/rest-scrapyd"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q-m%2Frest-scrapyd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q-m%2Frest-scrapyd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q-m%2Frest-scrapyd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q-m%2Frest-scrapyd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/q-m","download_url":"https://codeload.github.com/q-m/rest-scrapyd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240114326,"owners_count":19749837,"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":["rest","ruby","scraping","scrapy"],"created_at":"2024-11-09T00:12:13.312Z","updated_at":"2025-02-22T02:14:42.302Z","avatar_url":"https://github.com/q-m.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"rest-scrapyd\n============\n[![Gem Version](https://badge.fury.io/rb/rest-scrapyd.svg)](http://badge.fury.io/rb/rest-scrapyd)\n[![Documentation](http://b.repl.ca/v1/yard-docs-blue.png)](http://rubydoc.info/github/q-m/rest-scrapyd)\n\nRuby client for the [Scrapyd](http://scrapyd.readthedocs.org/) REST API\nbuilt on top of [rest-core](https://github.com/godfat/rest-core).\n\n\nInstallation\n------------\n\n```sh\ngem install rest-scrapyd\n```\n\nor, when using a Gemfile\n\n```ruby\ngem 'rest-scrapyd'\n```\n\nand run `bundle install`.\n\n\nUsage\n-----\n\n```ruby\nrequire 'rest-scrapyd'\n\nr = RestScrapyd.new site: \"http://example.com:6800/\"\nr.listprojects\n# =\u003e [\"project1\", \"project2\"]\nr.listspiders(project: \"project1\")\n# =\u003e [\"spider1\", \"spider2\"]\n\n# connect to default site at http://localhost:6800/\nr = RestScrapyd.new\n# and set a default project\nr.project = \"project1\"\nr.listspiders\n# =\u003e [\"spider1\", \"spider2\"]\nr.listversions\n# =\u003e [\"123456-master\"]\n\n# you can also specify a default project on construction\nr = RestScrapyd.new project: \"project1\"\nr.schedule(\"spider1\", \"123456-master\")\n# =\u003e \"1234567890abcdef1234567890abcdef\"\n\n# http basic is also possible, when running scrapyd behind a reverse proxy\nr = RestScrapyd.new site: \"https://example.com:6843/\", username: \"deploy\", password: \"s3cret\"\n```\n\nFor more information, see the [RestScrapyd](http://rubydoc.info/github/q-m/rest-scrapyd/RestScrapyd.html)\nand [Scrapyd API](http://scrapyd.readthedocs.org/en/latest/api.html) documentation.\n\n\nCopyright\n---------\n\nCopyright © 2015 wvengen, released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq-m%2Frest-scrapyd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fq-m%2Frest-scrapyd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq-m%2Frest-scrapyd/lists"}