{"id":16409730,"url":"https://github.com/nag763/rat-rs","last_synced_at":"2025-03-23T06:31:01.796Z","repository":{"id":40558164,"uuid":"487955136","full_name":"nag763/rat-rs","owner":"nag763","description":"A simple cli tool to fetch transports schedules on the Ile-de-France région","archived":false,"fork":false,"pushed_at":"2022-07-01T21:02:26.000Z","size":2602,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:21:24.642Z","etag":null,"topics":["cargo","cli","iledefrance","open-source","paris","ratp","rest-api","rust"],"latest_commit_sha":null,"homepage":"https://nag763.github.io/rat-rs/","language":"Rust","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/nag763.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-02T18:48:27.000Z","updated_at":"2023-01-15T11:27:48.000Z","dependencies_parsed_at":"2022-07-31T23:39:06.252Z","dependency_job_id":null,"html_url":"https://github.com/nag763/rat-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nag763%2Frat-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nag763%2Frat-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nag763%2Frat-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nag763%2Frat-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nag763","download_url":"https://codeload.github.com/nag763/rat-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066496,"owners_count":20555402,"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":["cargo","cli","iledefrance","open-source","paris","ratp","rest-api","rust"],"created_at":"2024-10-11T06:21:19.109Z","updated_at":"2025-03-23T06:31:01.447Z","avatar_url":"https://github.com/nag763.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![crates-dl](https://img.shields.io/crates/v/rat-rs)](https://crates.io/crates/rat-rs)\n[![rat-stars](https://img.shields.io/github/stars/nag763/rat-rs?style=social)](https://github.com/nag763/rat-rs/stargazers)\n[![rat-license](https://img.shields.io/crates/l/rat-rs)](https://github.com/nag763/rat-rs/blob/main/LICENSE)\n[![gh-issues](https://img.shields.io/github/issues/nag763/rat-rs)](https://github.com/nag763/rat-rs/issues)\n\n# rat-rs\n\n\u003cimg src=\"https://raw.githubusercontent.com/nag763/rat-rs/main/.github/logo.png\" alt=\"drawing\" width=\"300\" style=\"margin-left:auto;margin-right:auto;display:block;\"/\u003e\n\nA simple cli tool to fetch transports schedules on the Ile-de-France région\n\n## Main assets\n\n* Allows to fetch the result of the following transports : Buses, Metros, Tramways and RERs\n* Up 24h/24h , 7day/7day\n* Fast response time\n* Real time results\n* Lightweight\n* Easy to use\n* Open-source\n* Crossplatform : you only need to have cargo installed !\n\n## How to download\n\n### From crates.io\n\n```\ncargo install rat-rs\n```\n\n### From github\n\n```\ncargo install --git https://github.com/nag763/rat-rs\n```\n\n### From release page\n\nMight come soon\n\n## Usage\n\n### Print help\n\n```\nusr@penguin:$ rat-rs --help\nrat-rs 0.1.2\nLABEYE Loïc \u003cloic.labeye@pm.me\u003e\nThis tool has for purpose to show the schedules of the parisians transports for the given arguments.\n\nUSAGE:\n    rat-rs \u003cTRANSPORT_TYPE\u003e \u003cCODE\u003e \u003cSTATION\u003e \u003cWAY\u003e\n\nARGS:\n    \u003cTRANSPORT_TYPE\u003e    Desired transport type [possible values: metro, rer, tramway, bus,\n                        noctilien]\n    \u003cCODE\u003e              Code of the transport\n    \u003cSTATION\u003e           Station where you would like to have the next schedules\n    \u003cWAY\u003e               What direction you want to go [default: ar] [possible values: a, r, ar]\n\nOPTIONS:\n    -h, --help       Print help information\n    -V, --version    Print version information\n\nAll of the data reported by this tool belongs to the RATP.\n```\n\n### Get the next metro (line 9) from Pont de Sèvres\n\n```\nusr@penguin:$ rat-rs metro 9 \"Pont de Sèvres\" a\n1 mn direction Mairie de Montreuil\n6 mn direction Mairie de Montreuil\n11 mn direction Mairie de Montreuil\n15 mn direction Mairie de Montreuil\n```\n\n### Get the next RER A from La Défense, any direction\n\n```\nusr@penguin:$ rat-rs rer a \"Auber\" ar\n21:07 direction Poissy\n21:11 direction Saint-Germain-en-Laye\n21:13 direction Cergy-Le-Haut\n21:18 direction Saint-Germain-en-Laye\n21:23 direction Poissy\n21:30 direction Saint-Germain-en-Laye\n21:06 direction Boissy-Saint-Leger\n21:09 direction Marne-la-Vallee Chessy\n21:16 direction Boissy-Saint-Leger\n21:23 direction Marne-la-Vallee Chessy\n21:31 direction Boissy-Saint-Leger\n21:38 direction Marne-la-Vallee Chessy\n```\n\n## Special thanks\n\n* This tool uses [Pierre Grimaud's RATP API](https://github.com/pgrimaud/horaires-ratp-api), support him if you like this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnag763%2Frat-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnag763%2Frat-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnag763%2Frat-rs/lists"}