{"id":19333186,"url":"https://github.com/pgrimaud/sytadin","last_synced_at":"2025-04-22T23:33:23.872Z","repository":{"id":57038420,"uuid":"55645953","full_name":"pgrimaud/sytadin","owner":"pgrimaud","description":"Real time information about road traffic on the Paris beltway","archived":false,"fork":false,"pushed_at":"2021-09-02T17:32:56.000Z","size":39,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T05:14:38.239Z","etag":null,"topics":["package","paris","php","road-traffic","scraper","sdk","sytadin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/pgrimaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"pgrimaud","custom":"https://www.paypal.me/grimaudpierre"}},"created_at":"2016-04-06T22:35:11.000Z","updated_at":"2022-09-22T15:50:35.000Z","dependencies_parsed_at":"2022-08-24T00:51:13.534Z","dependency_job_id":null,"html_url":"https://github.com/pgrimaud/sytadin","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgrimaud%2Fsytadin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgrimaud%2Fsytadin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgrimaud%2Fsytadin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgrimaud%2Fsytadin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgrimaud","download_url":"https://codeload.github.com/pgrimaud/sytadin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340821,"owners_count":21414649,"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":["package","paris","php","road-traffic","scraper","sdk","sytadin"],"created_at":"2024-11-10T02:50:33.127Z","updated_at":"2025-04-22T23:33:23.627Z","avatar_url":"https://github.com/pgrimaud.png","language":"PHP","funding_links":["https://github.com/sponsors/pgrimaud","https://www.paypal.me/grimaudpierre"],"categories":[],"sub_categories":[],"readme":"# Sytadin\n\n[![Packagist](https://img.shields.io/badge/packagist-install-brightgreen.svg)](https://packagist.org/packages/pgrimaud/sytadin)\n[![Build Status](https://travis-ci.org/pgrimaud/sytadin.svg?branch=master)](https://travis-ci.org/pgrimaud/sytadin)\n\nReal time information about road traffic on the Paris beltway.\n\n## Usage\n\n```\ncomposer require pgrimaud/sytadin\n```\n\n```php\n$api = new \\Sytadin\\Api();\n\n$parameters = [\n    'start' =\u003e 'orleans',\n    'end' =\u003e 'bercy',\n    'direction' =\u003e $api::DIRECTION_EXTERIOR\n];\n\n$api-\u003esetParameters($parameters);\n$route = $api-\u003egetRoute();\n\necho $route-\u003egetStart()-\u003egetName() . PHP_EOL;\n//orleans\n\necho $route-\u003egetEnd()-\u003egetName() . PHP_EOL;\n//bercy\n\nforeach ($route-\u003egetSections() as $section) {\n    echo $section-\u003egetStart()-\u003egetName() . '-\u003e' . $section-\u003egetEnd()-\u003egetName() . PHP_EOL;\n    echo $section-\u003egetTime() . ' (ref :' . $section-\u003egetTimeReference() . ')' . PHP_EOL;\n}\n//orleans-\u003eitalie\n//8 (ref :4)\n//italie-\u003ebercy\n//4 (ref :2)\n\n//reference time\necho $route-\u003egetTimeReference() . PHP_EOL;\n//6\n\n//real time\necho $route-\u003egetTime() . PHP_EOL;\n//12\n\n//kilometers\necho $route-\u003egetKms() . PHP_EOL;\n//8\n```\n\nIf **Time** is superior to the **TimeReference**, it means there is some traffic jams.\n\n## Gates available\n\n```php\nforeach (\\Sytadin\\Gate::listGates() as $gate) {\n    echo $gate . PHP_EOL;\n}\n```\n\n```\nchapelle\nmaillot\nauteuil\norleans\nitalie\nbercy\nbagnolet\n```\n\n## Copyright\n\nNo copyright, based \u0026 crawled on Sytadin website ([http://www.sytadin.fr](http://www.sytadin.fr))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgrimaud%2Fsytadin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgrimaud%2Fsytadin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgrimaud%2Fsytadin/lists"}