{"id":21381167,"url":"https://github.com/zecat/geo-fr-api","last_synced_at":"2025-03-16T10:43:40.406Z","repository":{"id":58229244,"uuid":"91949968","full_name":"Zecat/geo-fr-api","owner":"Zecat","description":"A set of elements wrapping the french governmental geo api (Polymer 1.9 - 2.x)","archived":false,"fork":false,"pushed_at":"2017-06-28T18:27:41.000Z","size":3913,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T12:02:38.375Z","etag":null,"topics":["api","french","geo","location","polymer","web-components"],"latest_commit_sha":null,"homepage":"https://www.webcomponents.org/element/Zecat/geo-fr-api","language":"HTML","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/Zecat.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":"2017-05-21T10:43:33.000Z","updated_at":"2017-06-12T00:30:28.000Z","dependencies_parsed_at":"2022-08-31T09:21:23.667Z","dependency_job_id":null,"html_url":"https://github.com/Zecat/geo-fr-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zecat%2Fgeo-fr-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zecat%2Fgeo-fr-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zecat%2Fgeo-fr-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zecat%2Fgeo-fr-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zecat","download_url":"https://codeload.github.com/Zecat/geo-fr-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243857996,"owners_count":20359259,"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":["api","french","geo","location","polymer","web-components"],"created_at":"2024-11-22T10:44:42.175Z","updated_at":"2025-03-16T10:43:40.384Z","avatar_url":"https://github.com/Zecat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Zecat/geo-fr-api)\n\n# Geo Fr Api\n\nA collection of elements wrapping the [french governmental geo api](https://api.gouv.fr/api/api-geo.html).\n\n\u003c!--\n```\n\u003ccustom-element-demo height=\"200\"\u003e\n\u003ctemplate\u003e\n\u003clink rel=\"import\" href=\"geo-fr-towns/geo-fr-towns.html\"\u003e\n\u003cnext-code-block\u003e\u003c/next-code-block\u003e\n\u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003cdom-bind\u003e\n  \u003ctemplate\u003e\n\n    \u003cgeo-fr-towns\n      auto\n      value=\"{{towns}}\"\n      town-name=\"Paris\"\n    \u003e\u003c/geo-fr-towns\u003e\n\n    \u003ch2\u003eMatching towns:\u003c/h2\u003e\n    \u003ctemplate is=\"dom-repeat\" items=\"[[towns]]\"\u003e\n      \u003cp\u003e\n        Name: [[item.nom]],\n        postal code: [[item.codePostaux.0]],\n        departement code: [[item.codeDepartement]],\n        population: [[item.population]]\n      \u003c/p\u003e\n    \u003c/template\u003e\n\n  \u003c/template\u003e\n\u003c/dom-bind\u003e\n```\n\n## Install\n\n```bash\n  bower install -S Zecat/geo-fr-api\n```\n\n## Import\n\n```html\n\u003c!-- All components --\u003e\n\u003clink rel=\"import\" href=\"/bower_components/geo-fr-api/geo-fr-api.html\"\u003e\n\u003c!-- towns components --\u003e\n\u003clink rel=\"import\" href=\"/bower_components/geo-fr-api/geo-fr-towns/geo-fr-towns.html\"\u003e\n\u003c!-- addresses components --\u003e\n\u003clink rel=\"import\" href=\"/bower_components/geo-fr-api/geo-fr-addresses/geo-fr-addresses.html\"\u003e\n```\n\n## What is inside\n\n### Elements\n\n- [geo-fr-towns](/geo-fr-towns)\n- [geo-fr-addresses](/geo-fr-addresses)\n- geo-fr-departments (incomming)\n- geo-fr-region (incomming)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzecat%2Fgeo-fr-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzecat%2Fgeo-fr-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzecat%2Fgeo-fr-api/lists"}