{"id":23712162,"url":"https://github.com/digillect/dadata","last_synced_at":"2026-01-26T02:01:12.688Z","repository":{"id":91910857,"uuid":"607073168","full_name":"Digillect/dadata","owner":"Digillect","description":"DaData.ru client for .NET Standard","archived":false,"fork":false,"pushed_at":"2024-11-15T13:47:36.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-07T12:24:12.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Digillect.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-27T08:57:02.000Z","updated_at":"2024-11-15T13:41:54.000Z","dependencies_parsed_at":"2025-09-03T17:33:34.918Z","dependency_job_id":"b8bcafc0-87d8-46db-8a5b-ac13ed510c0b","html_url":"https://github.com/Digillect/dadata","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"8eda1f27423205ddd8152e24d5b296d36d734f7a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Digillect/dadata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digillect%2Fdadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digillect%2Fdadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digillect%2Fdadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digillect%2Fdadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Digillect","download_url":"https://codeload.github.com/Digillect/dadata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digillect%2Fdadata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28764403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"online","status_checked_at":"2026-01-26T02:00:08.215Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-30T19:57:29.801Z","updated_at":"2026-01-26T02:01:12.650Z","avatar_url":"https://github.com/Digillect.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digillect DaData.ru client\n\nImplementation of the [DaData](https://dadata.ru/) features, based on HTTP Client through Refit. \n\n## Available features\n\n- [Address suggestions](https://dadata.ru/api/suggest/address/) \n- [Address by FIAS/KLADR identifier](https://dadata.ru/api/find-address/)\n- [City by IP address](https://dadata.ru/api/iplocate/)\n\n## Usage\n\nRegister the client in DI container passing API key, if any:\n\n```csharp\nservices.AddDaDataSuggestionsClient(\"123456\");\n```\n\nThen inject the client into your services/controllers:\n\n```csharp\n[Route(\"/api/addresses\")]\npublic sealed class AddressesController : ApiController\n{\n    private readonly IDaDataSuggestionsClient _client;\n    \n    public AddressesController(IDaDataSuggestionsClient client)\n    {\n        _client = client;\n    }\n\n    /// \u003csummary\u003e\n    /// Suggests addresses for the specified query.\n    /// \u003c/summary\u003e\n    [HttpGet(\"suggestions\")]\n    public Task\u003cIReadOnlyList\u003cAddressSuggestion\u003e\u003e GetSuggestionsAsync(string query) =\u003e _client.SuggestAddressAsync(query);\n    \n    /// \u003csummary\u003e\n    /// Suggests cities for the specified query.\n    /// \u003c/summary\u003e\n    [HttpGet(\"cities\")]\n    public async Task\u003cIReadOnlyList\u003cAddressSuggestion\u003e\u003e GetCitiesAsync(string query)\n    {\n        var request = SuggestAddressRequest.Create(query).From(SuggestAddressBound.City).To(SuggestAddressBound.City);\n        var response = await _client.SuggestAddressAsync(request);\n        \n        return response.Suggestions;\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigillect%2Fdadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigillect%2Fdadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigillect%2Fdadata/lists"}