{"id":22940775,"url":"https://github.com/inductivecomputerscience/kommunenummer","last_synced_at":"2025-04-01T20:36:38.316Z","repository":{"id":144579166,"uuid":"145715070","full_name":"InductiveComputerScience/kommunenummer","owner":"InductiveComputerScience","description":"Library for computations on norwegian county numbers (kommunenummer)","archived":false,"fork":false,"pushed_at":"2018-08-22T14:24:04.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T13:27:46.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/InductiveComputerScience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-22T13:45:37.000Z","updated_at":"2018-08-22T14:23:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"fac4f21c-b75a-48d5-8ca3-3248cff2b249","html_url":"https://github.com/InductiveComputerScience/kommunenummer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InductiveComputerScience%2Fkommunenummer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InductiveComputerScience%2Fkommunenummer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InductiveComputerScience%2Fkommunenummer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InductiveComputerScience%2Fkommunenummer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InductiveComputerScience","download_url":"https://codeload.github.com/InductiveComputerScience/kommunenummer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709932,"owners_count":20821298,"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-12-14T13:30:59.144Z","updated_at":"2025-04-01T20:36:38.288Z","avatar_url":"https://github.com/InductiveComputerScience.png","language":"Java","readme":"# Norwegian county numbers (kommunenummer)\nThis project contains a library for computations on norwegian county numbers in many programming languages. The library works exactly the same in all implementations:\n\n * Java\n * C\n * C++\n * JavaScript\n * C#\n * PHP\n * Python\n * Visual Basic\n\nNorwegian county numbers are called \"kommunenummer\" in norwegian.\n\nThe library has been made with [progsbase](https://www.progsbase.com), a tool for creating rot-resistant programs that are translatable to many programming languages.\n\nThe library can also be browsed and tested on the [progsbase repository's kommunenummer page](https://repo.progsbase.com/repoviewer/no.inductive.libraries/kommunenummer/0.1.1).\n\n![progsbase logo](/docs/images/progsbase-logo.png)\n\nFor more information about progsbase, check out: [progsbase.com](https://www.progsbase.com).\n\n## Usage\n\nThe library has the same interface in all programming languages.\n\n### Validate\n`boolean erGyldigKommunenummer(char [] kommunenummer)`\n\nThe function takes a string as input containing the county number (kommunenummer) and returns true if valid and existing and false if not.\n\n### Get county name from number\n`char [] hentKommunenavnFraNummer(char [] kommunenummer, Success success)`\n\nThe function takes a string as input, containing a norwegian county number (kommunenummer) and a structure Success.\n\nThe output is a string with the county name. Also, if the call fails, success.success is false and a human readable reason is placed in success.feilmelding.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finductivecomputerscience%2Fkommunenummer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finductivecomputerscience%2Fkommunenummer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finductivecomputerscience%2Fkommunenummer/lists"}