{"id":22503745,"url":"https://github.com/ksylvest/cubesmart","last_synced_at":"2025-06-10T23:40:28.266Z","repository":{"id":266332957,"uuid":"898082388","full_name":"ksylvest/cubesmart","owner":"ksylvest","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-09T08:31:04.000Z","size":130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-09T09:31:09.430Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"https://cubesmart.ksylvest.com/","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/ksylvest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-12-03T18:55:26.000Z","updated_at":"2025-06-09T08:31:07.000Z","dependencies_parsed_at":"2024-12-03T19:05:00.777Z","dependency_job_id":"5bae5b4a-0d92-40e7-9769-c98cb6bed432","html_url":"https://github.com/ksylvest/cubesmart","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.5,"last_synced_commit":"55e2afcaae72be3de9a4e533c526bda9980b6dc3"},"previous_names":["ksylvest/cubesmart"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fcubesmart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fcubesmart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fcubesmart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fcubesmart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksylvest","download_url":"https://codeload.github.com/ksylvest/cubesmart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fcubesmart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258884803,"owners_count":22772801,"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":["ruby"],"created_at":"2024-12-06T23:50:00.741Z","updated_at":"2025-06-10T23:40:28.246Z","avatar_url":"https://github.com/ksylvest.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CubeSmart\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ksylvest/cubesmart/blob/main/LICENSE)\n[![RubyGems](https://img.shields.io/gem/v/cubesmart)](https://rubygems.org/gems/cubesmart)\n[![GitHub](https://img.shields.io/badge/github-repo-blue.svg)](https://github.com/ksylvest/cubesmart)\n[![Yard](https://img.shields.io/badge/docs-site-blue.svg)](https://cubesmart.ksylvest.com)\n[![CircleCI](https://img.shields.io/circleci/build/github/ksylvest/cubesmart)](https://circleci.com/gh/ksylvest/cubesmart)\n\nA Ruby library offering both a CLI and API for scraping [CubeSmart](hhttps://www.cubesmart.com/) self-storage facilities and prices.\n\n## Installation\n\n```bash\ngem install extrapsace\n```\n\n## Configuration\n\n```ruby\nrequire 'cubesmart'\n\nCubeSmart.configure do |config|\n  config.user_agent = '../..' # ENV['CUBESMART_USER_AGENT']\n  config.timeout = 30 # ENV['CUBESMART_TIMEOUT']\n  config.proxy_url = 'http://user:pass@superproxy.zenrows.com:1337' # ENV['CUBESMART_PROXY_URL']\nend\n```\n\n## Usage\n\n```ruby\nrequire 'cubesmart'\n\nsitemap = CubeSmart::Facility.sitemap\nsitemap.links.each do |link|\n  url = link.loc\n  facility = CubeSmart::Facility.fetch(url:)\n\n  puts facility.text\n\n  facility.prices.each do |price|\n    puts price.text\n  end\n\n  puts\nend\n```\n\n## CLI\n\n```bash\ncubesmart crawl\n```\n\n```bash\ncubesmart crawl \"https://www.cubesmart.com/california-self-storage/los-angeles-self-storage/3844.html\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fcubesmart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksylvest%2Fcubesmart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fcubesmart/lists"}