{"id":24108692,"url":"https://github.com/ksylvest/nsastorage","last_synced_at":"2026-03-16T15:38:08.164Z","repository":{"id":267678407,"uuid":"902010483","full_name":"ksylvest/nsastorage","owner":"ksylvest","description":"A crawler for NSA Storage (https://www.nsastorage.com/)","archived":false,"fork":false,"pushed_at":"2025-06-09T22:44:04.000Z","size":145,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-09T23:30:31.763Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"https://nsastorage.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-11T18:21:54.000Z","updated_at":"2025-06-09T22:44:08.000Z","dependencies_parsed_at":"2024-12-11T19:47:07.130Z","dependency_job_id":"7421148c-d729-4ae3-ace2-14646aea949d","html_url":"https://github.com/ksylvest/nsastorage","commit_stats":null,"previous_names":["ksylvest/nsastorage"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fnsastorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fnsastorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fnsastorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fnsastorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksylvest","download_url":"https://codeload.github.com/ksylvest/nsastorage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fnsastorage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258976618,"owners_count":22787109,"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":"2025-01-10T23:53:59.320Z","updated_at":"2026-03-16T15:38:08.124Z","avatar_url":"https://github.com/ksylvest.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSAStorage\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ksylvest/nsastorage/blob/main/LICENSE)\n[![RubyGems](https://img.shields.io/gem/v/nsastorage)](https://rubygems.org/gems/nsastorage)\n[![GitHub](https://img.shields.io/badge/github-repo-blue.svg)](https://github.com/ksylvest/nsastorage)\n[![Yard](https://img.shields.io/badge/docs-site-blue.svg)](https://nsastorage.ksylvest.com)\n[![CircleCI](https://img.shields.io/circleci/build/github/ksylvest/nsastorage)](https://circleci.com/gh/ksylvest/nsastorage)\n\nA Ruby library offering both a CLI and API for scraping [NSA Storage](https://www.nsastorage.com/) self-storage facilities and prices.\n\n## Installation\n\n```bash\ngem install nsastorage\n```\n\n## Configuration\n\n```ruby\nrequire 'nsastorage'\n\nNSAStorage.configure do |config|\n  config.user_agent = '../..' # ENV['NSASTORAGE_USER_AGENT']\n  config.timeout = 30 # ENV['NSASTORAGE_TIMEOUT']\n  config.proxy_url = 'http://user:pass@superproxy.zenrows.com:1337' # ENV['NSASTORAGE_PROXY_URL']\nend\n```\n\n## Usage\n\n```ruby\nrequire 'nsastorage'\n\nsitemap = NSAStorage::Facility.sitemap\nsitemap.links.each do |link|\n  url = link.loc\n  facility = NSAStorage::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\nnsastorage crawl\n```\n\n```bash\nnsastorage crawl \"https://www.nsastorage.com/storage/georgia/storage-units-norcross/1-Western-Hills-Ct-2\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fnsastorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksylvest%2Fnsastorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fnsastorage/lists"}