{"id":19050784,"url":"https://github.com/nicka/dcentralized","last_synced_at":"2025-04-24T01:23:56.616Z","repository":{"id":8093074,"uuid":"9507363","full_name":"nicka/dcentralized","owner":"nicka","description":"API wrapper for Pro6PP zipcode database(d-centralize.nl).","archived":false,"fork":false,"pushed_at":"2013-09-25T08:59:31.000Z","size":225,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T01:03:13.955Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicka.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}},"created_at":"2013-04-17T20:53:42.000Z","updated_at":"2013-12-08T21:18:49.000Z","dependencies_parsed_at":"2022-09-01T20:41:43.810Z","dependency_job_id":null,"html_url":"https://github.com/nicka/dcentralized","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fdcentralized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fdcentralized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fdcentralized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fdcentralized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicka","download_url":"https://codeload.github.com/nicka/dcentralized/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250542063,"owners_count":21447634,"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":[],"created_at":"2024-11-08T23:16:15.688Z","updated_at":"2025-04-24T01:23:56.597Z","avatar_url":"https://github.com/nicka.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/nicka/dcentralized.png?branch=develop)](https://travis-ci.org/nicka/dcentralized) [![Code Climate](https://codeclimate.com/github/nicka/dcentralized.png)](https://codeclimate.com/github/nicka/dcentralized) [![Gem Version](https://badge.fury.io/rb/dcentralized.png)](http://badge.fury.io/rb/dcentralized)\n\n# Dcentralized\n\nAPI wrapper for Pro6PP zipcode database(d-centralize.nl). \n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'dcentralized'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install dcentralized\n\n## Setup\n\nAdd file `config/initializers/dcentralized.rb`.\n\n    require 'dcentralized'\n    Dcentralized.configure do |config|\n      config.api_key = \"123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ\"\n    end\n\n## Example usage\n\nHigh detailed zipcode result:\n\n    response = Dcentralized.auto_complete(\"2564AZ\")\n    # =\u003e #\u003cOpenStruct nl_sixpp=\"2564AZ\", street=\"Laan van Meerdervoort\", city=\"'s-Gravenhage\", municipality=\"'s-Gravenhage\", province=\"Zuid-Holland\", streetnumbers=\"1096-1126\", lat=\"52.06751\", lng=\"4.24733\", areacode=\"070\"\u003e\n\nLow detailed zipcode result:\n\n    response = Dcentralized.auto_complete(\"2564\")\n    # =\u003e #\u003cOpenStruct nl_fourpp=\"2564\", city=\"'s-Gravenhage\", municipality=\"'s-Gravenhage\", province=\"Zuid-Holland\", areacode=\"070\", lat=\"52.068\", lng=\"4.25724\"\u003e\n\nYou can then use:\n\n    response.street\n    # =\u003e \"Laan van Meerdervoort\"\n    response.province\n    # =\u003e \"Zuid-Holland\"\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicka%2Fdcentralized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicka%2Fdcentralized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicka%2Fdcentralized/lists"}