Skip to content

Commit

Permalink
21.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nalgeon committed Feb 16, 2021
1 parent 5342a4f commit 112cb89
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dadata.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Dadata</id>
<title>Dadata</title>
<version>20.10.0</version>
<version>21.2.0</version>
<authors>DaData.ru</authors>
<owners>DaData.ru</owners>
<license type="expression">MIT</license>
Expand All @@ -13,8 +13,8 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>DaData.ru API client for CLR languages.</description>
<summary>DaData.ru API client for CLR languages.</summary>
<releaseNotes>Supports Dadata API as of October 2020.</releaseNotes>
<copyright>Copyright 2020</copyright>
<releaseNotes>Supports Dadata API as of February 2021.</releaseNotes>
<copyright>Copyright 2021</copyright>
<tags>DaData.ru API C# .NET</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="12.0.2"/>
Expand Down
2 changes: 1 addition & 1 deletion Dadata/Dadata.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<Version>20.10.0</Version>
<Version>21.2.0</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,14 @@ var response = await api.Suggest<CarBrand>("фо");
var brand = response.suggestions[0].data;
```

### [OKTMO](https://dadata.ru/api/suggest/oktmo/)

```csharp
var api = new OutwardClientAsync(token);
var response = await api.Find<OktmoRecord>("54623425");
var record = response.suggestions[0].data;
```

### [OKVED 2](https://dadata.ru/api/suggest/okved2/)

```csharp
Expand Down

0 comments on commit 112cb89

Please sign in to comment.