{"id":18333454,"url":"https://github.com/minmao-hub/mmlocationparser","last_synced_at":"2026-02-27T20:14:53.888Z","repository":{"id":97264409,"uuid":"344832960","full_name":"MinMao-Hub/MMLocationParser","owner":"MinMao-Hub","description":"国内地址提取出省市区街道等信息","archived":false,"fork":false,"pushed_at":"2021-03-06T08:05:46.000Z","size":571,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T05:42:34.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/MinMao-Hub.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-05T14:17:56.000Z","updated_at":"2024-08-06T00:59:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"75f024e7-43ef-4e81-bf3b-f24b6bde16ae","html_url":"https://github.com/MinMao-Hub/MMLocationParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MinMao-Hub/MMLocationParser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinMao-Hub%2FMMLocationParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinMao-Hub%2FMMLocationParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinMao-Hub%2FMMLocationParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinMao-Hub%2FMMLocationParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinMao-Hub","download_url":"https://codeload.github.com/MinMao-Hub/MMLocationParser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinMao-Hub%2FMMLocationParser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29911558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-05T19:42:15.259Z","updated_at":"2026-02-27T20:14:53.872Z","avatar_url":"https://github.com/MinMao-Hub.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MMLocationParser\n国内地址提取出省市区街道等信息\n\n### 概述\n\n简单的地址字符串解析\n\n\n### Usage\n\n```\nMMLocationParser *parser = [MMLocationParser parserWithLoation:@\"上海市浦东新区金科路2000号\"];\nNSLog(@\"输入:\");\nNSLog(@\"%@\",parser.location);\nNSLog(@\"输出:\");\nNSLog(@\"province: %@\",parser.province);\nNSLog(@\"city:     %@\",parser.city);\nNSLog(@\"area:     %@\",parser.area);\nNSLog(@\"town:     %@\",parser.town);\nNSLog(@\"street:   %@\",parser.street);\nNSLog(@\"name:     %@\",parser.name);\nNSLog(@\"results: %@\",parser.results);\n```\n\n### Example\n\n* 单地址解析示例\n\n![](images/shanghai.png)\n\n![](images/anhui1.png)\n\n* 批量地址解析示例\n\n```\nNSArray *list = [MMLocationParser parseList:@[\n    @\"上海市浦东新区金科路2000号\",\n    @\"安徽省黄山市歙县桂林镇竦口村188号\",\n    @\"内蒙古自治区呼和浩特市新城区成吉思汗大街\",\n    @\"青海省果洛藏族自治州达日县麻河乡撒哈拉村999号\",\n    @\"香港特别行政区中西区薄扶林道\",\n]];\n\nfor (MMLocationParser *parser in list) {\n    NSLog(@\"input:%@\",parser.location);\n    NSLog(@\"province: %@\",parser.province);\n    NSLog(@\"city: %@\",parser.city);\n    NSLog(@\"area: %@\",parser.area);\n    NSLog(@\"town: %@\",parser.town);\n    NSLog(@\"street: %@\",parser.street);\n    NSLog(@\"name: %@\",parser.name);\n    NSLog(@\"results: %@\",parser.results);\n}\n```\n\n![](images/batch.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminmao-hub%2Fmmlocationparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminmao-hub%2Fmmlocationparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminmao-hub%2Fmmlocationparser/lists"}