{"id":29822888,"url":"https://github.com/ctxhou/youbiker","last_synced_at":"2025-07-29T01:12:09.024Z","repository":{"id":34945673,"uuid":"39020136","full_name":"ctxhou/youbiker","owner":"ctxhou","description":"youbiker","archived":false,"fork":false,"pushed_at":"2016-03-06T09:19:54.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T07:40:37.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctxhou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-13T15:20:18.000Z","updated_at":"2016-03-06T09:19:54.000Z","dependencies_parsed_at":"2022-09-15T22:30:55.992Z","dependency_job_id":null,"html_url":"https://github.com/ctxhou/youbiker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ctxhou/youbiker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctxhou%2Fyoubiker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctxhou%2Fyoubiker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctxhou%2Fyoubiker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctxhou%2Fyoubiker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctxhou","download_url":"https://codeload.github.com/ctxhou/youbiker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctxhou%2Fyoubiker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267613861,"owners_count":24115702,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2025-07-29T01:12:08.412Z","updated_at":"2025-07-29T01:12:09.015Z","avatar_url":"https://github.com/ctxhou.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youbiker\n\n這個程式會去拉[Youbike](http://www.youbike.com.tw/)目前開放的即時資料，輸出兩種檔案\n\n1. 場站資料：抓取現在各場站的車位數量\n2. 地理資料：抓取現在各場站的地理相關資訊\n\n## 使用方法\n\nruby \u003e= 2.0.0\n\n安裝 gem\n\n    bundle install\n\n接著跑`youbike.rb`\n\n    ruby youbiker.rb\n\n就會幫你把現在的場站資訊抓下來\n\n## 參數\n\n輸入 `ruby youbiker.rb --help` 可以查看可以輸入的參數\n\n| 參數 | 預設值 | 說明                                         |\n|------|--------|----------------------------------------------|\n| -n   | true   | [boolean]是否要抓取場站資料                  |\n| -s   | false  | [boolean]是否要抓取地理資料                  |\n| -d   | nil    | [string]資料要存放的位置。若無輸入則存在`./` |\n| -w   | false  | [boolean]是否要每十分鐘抓取一次              |\n\n舉例來說，若希望抓取地理資料以及每十分鐘抓一次並且存在`data`資料夾：\n\n    ruby youbiker.rb -s -w -d data\n\n## 官方文件\n\n[YouBike 微笑單車介接說明文件](http://www.dot.taipei.gov.tw/public/mmo/dot/YouBike%E5%BE%AE%E7%AC%91%E5%96%AE%E8%BB%8A%E4%BB%8B%E6%8E%A5%E8%AA%AA%E6%98%8E%E6%96%87%E4%BB%B6.pdf)\n\n## License\n\nMIT [@ctxhou](https://github.com/ctxhou)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctxhou%2Fyoubiker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctxhou%2Fyoubiker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctxhou%2Fyoubiker/lists"}