{"id":20677022,"url":"https://github.com/ekohe/sourcescrub","last_synced_at":"2026-06-05T11:31:35.904Z","repository":{"id":48687010,"uuid":"273265699","full_name":"ekohe/sourcescrub","owner":"ekohe","description":"A Ruby Wrapper based on SourceScrub API","archived":false,"fork":false,"pushed_at":"2026-05-07T10:33:25.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-05-07T12:33:28.327Z","etag":null,"topics":["api","rest-api","ruby","sourcescrub"],"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/ekohe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-18T14:51:33.000Z","updated_at":"2026-05-07T10:33:23.000Z","dependencies_parsed_at":"2022-07-25T01:02:34.701Z","dependency_job_id":null,"html_url":"https://github.com/ekohe/sourcescrub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ekohe/sourcescrub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fsourcescrub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fsourcescrub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fsourcescrub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fsourcescrub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekohe","download_url":"https://codeload.github.com/ekohe/sourcescrub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fsourcescrub/sbom","scorecard":{"id":370779,"data":{"date":"2025-08-11","repo":{"name":"github.com/ekohe/sourcescrub","commit":"a08ecff59334156ca7830cf9f9f7e1d01e434ae3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-2rxp-v6pw-ch6m","Warn: Project is vulnerable to: GHSA-4xqq-m2hx-25v8","Warn: Project is vulnerable to: GHSA-5866-49gr-22v4","Warn: Project is vulnerable to: GHSA-r55c-59qm-vjw6","Warn: Project is vulnerable to: GHSA-vg3r-rm7w-2xgh","Warn: Project is vulnerable to: GHSA-vmwr-mc7x-5vc3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T12:51:48.623Z","repository_id":48687010,"created_at":"2025-08-18T12:51:48.623Z","updated_at":"2025-08-18T12:51:48.623Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33939225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","rest-api","ruby","sourcescrub"],"created_at":"2024-11-16T21:14:17.484Z","updated_at":"2026-06-05T11:31:35.882Z","avatar_url":"https://github.com/ekohe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sourcescrub\n\nSourcescrub is a ruby wrapper based on Source Scrub API, Here is API documentation: https://api.sourcescrub.com/index.html.\n\nHowever, we need to request an access account from Sourcescrub.\n\n[![Gem Version](https://badge.fury.io/rb/sourcescrub.svg)](https://badge.fury.io/rb/sourcescrub)\n[![Build Status](https://travis-ci.org/ekohe/sourcescrub.svg?branch=master)](https://travis-ci.org/ekohe/sourcescrub)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'sourcescrub'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install sourcescrub\n\n## Getting Started\n\n#### Configure your certificate for API\n\n```ruby\nrequire 'sourcescrub'\n\naccount = YAML.load(File.read('sourcescrub.yml'))\nSourcescrub.account do |config|\n  config.username = account['username']\n  config.password = account['password']\n  config.basic    = account['basic']\n  config.debug    = false # Default is false, If you want to know the request information, can set the debug = true\nend\n```\n\n## Usage\n\n#### Class: `Client` for API\n\n```\npry(main)\u003e client = Sourcescrub::Client.new\n```\n\n#### Request your token\n\n```\npry(main)\u003e client.headers\n=\u003e {\"Authorization\"=\u003e\"Bearer eyJhbGciOiJSUzI1NiIsImtpZCI........\"}\n```\n\n#### API request for endpoint we completed\n\n- [Companies](https://github.com/ekohe/sourcescrub#companies)\n- [Searches](https://github.com/ekohe/sourcescrub#searches)\n\n```ruby\n\u003c!-- Company --\u003e\nresponse = client.company('ekohe.com') # get data by domain\nresponse = client.company('LZ281NVD') # get data by SS ID\n\n\u003c!-- Get the JSON response of Company --\u003e\n\nresponse.as_json\n```\n\n### Companies\n\n####  Get the company data by domain or Sourcescrub ID\n\n```ruby\npry(main)\u003e response = client.company('ekohe.com')\n=\u003e #\u003cSourcescrub::Models::Company:0x00007f9e915161c0\n @city=\"Xinzhuang\",\n @companyType=\"Private\",\n @country=\"China\",\n @crunchbase=nil,\n @currentEmployeeCount=41,\n @currentEmployeeRange=\"11-50\",\n @currentJobOpenings=0,\n @description=\n  \"Ekohe, Ltd. is a cutting-edge web and mobile design and development agency. It specialize in digital strategy, innovative technology and user-centered design experiences from conceptualization to market launch.\",\n @domain=\"ekohe.com\",\n @facebook=nil,\n=\u003e #\u003cSourcescrub::Models::Company:0x00007f9e915161c0\n @city=\"Xinzhuang\",\n @companyType=\"Private\",\n @country=\"China\",\n @crunchbase=nil,\n @currentEmployeeCount=41,\n @currentEmployeeRange=\"11-50\",\n @currentJobOpenings=0,\n @description=\n  \"Ekohe, Ltd. is a cutting-edge web and mobile design and development agency. It specialize in digital strategy, innovative technology and user-centered design experiences from conceptualization to market la\nunch.\",\n @domain=\"ekohe.com\",\n @facebook=nil,\n @firmTags=[],\n @foundingYear=2007,\n @id=\"LZ281NVD\",\n @informalName=\"Ekohe\",\n @investors=\"\",\n @linkedIn=\"https://www.linkedin.com/company/ekohe\",\n @location=\"Xinzhuang, Shanghai Shi, China\",\n @name=\"Ekohe, Ltd.\",\n @parentCompanyDomain=nil,\n @personalTags=[],\n @phoneNumber=\"\",\n @postalCode=nil,\n @specialties=\n  [\"IT \u0026 Startup Consulting\",\n   \"Ruby on Rails leaders\",\n   \"Intelligent Web \u0026 Mobile Development\",\n   \"Usable Web \u0026 Mobile design\",\n   \"UX or UI Design\",\n   \"Artificial Intelligence\",\n   \"Machine Learning\",\n   \"Data Sourcing\",\n   \"FinTech Tools\"],\n @state=\"Shanghai Shi\",\n @totalAmountInvested=0,\n @twitter=nil,\n @website=\"https://ekohe.com\"\u003e\npry(main)\u003e response.name\n=\u003e \"Ekohe, Ltd.\"\npry(main)\u003e response.domain\n=\u003e \"ekohe.com\"\npry(main)\u003e response.as_json\n=\u003e {:id=\u003e\"LZ281NVD\",\n :companyType=\u003e\"Private\",\n :name=\u003e\"Ekohe, Ltd.\",\n :informalName=\u003e\"Ekohe\",\n :website=\u003e\"https://ekohe.com\",\n :domain=\u003e\"ekohe.com\",\n :description=\u003e\n  \"Ekohe, Ltd. is a cutting-edge web and mobile design and development agency. It specialize in digital strategy, innovative technology and user-centered design experiences from conceptualization to market launch.\",\n :foundingYear=\u003e2007,\n :location=\u003e\"Xinzhuang, Shanghai Shi, China\",\n :city=\u003e\"Xinzhuang\",\n :state=\u003e\"Shanghai Shi\",\n :postalCode=\u003enil,\n :country=\u003e\"China\",\n :parentCompanyDomain=\u003enil,\n :phoneNumber=\u003e\"\",\n :specialties=\u003e\n  [\"IT \u0026 Startup Consulting\",\n   \"Ruby on Rails leaders\",\n   \"Intelligent Web \u0026 Mobile Development\",\n   \"Usable Web \u0026 Mobile design\",\n   \"UX or UI Design\",\n   \"Artificial Intelligence\",\n   \"Machine Learning\",\n   \"Data Sourcing\",\n   \"FinTech Tools\"],\n :facebook=\u003enil,\n :twitter=\u003enil,\n :crunchbase=\u003enil,\n :linkedIn=\u003e\"https://www.linkedin.com/company/ekohe\",\n :totalAmountInvested=\u003e0,\n :currentEmployeeCount=\u003e41,\n :currentEmployeeRange=\u003e\"11-50\",\n :currentJobOpenings=\u003e0,\n :investors=\u003e\"\",\n :personalTags=\u003e[],\n :firmTags=\u003e[]}\n```\n\n### Searches\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ekohe/sourcescrub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/ekohe/sourcescrub/blob/master/CODE_OF_CONDUCT.md).\n\n- [Encore](https://github.com/encoreshao)\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Sourcescrub project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ekohe/sourcescrub/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekohe%2Fsourcescrub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekohe%2Fsourcescrub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekohe%2Fsourcescrub/lists"}