Update product name, cleanup annotations (#15)

This commit is contained in:
Alex Lushpai 2020-12-15 13:29:48 +03:00 committed by GitHub
parent b8794e57ed
commit 0c784f003c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 25 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2015-2018 RetailDriver LLC Copyright (c) 2015-2020 RetailDriver LLC
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,10 +1,10 @@
[![AppVeyor](https://img.shields.io/appveyor/build/gwinn/api-client-dotnet?style=flat-square)](https://ci.appveyor.com/project/gwinn/api-client-dotnet) [![AppVeyor](https://img.shields.io/appveyor/build/gwinn/api-client-dotnet?logo=appveyor&logoColor=white)](https://ci.appveyor.com/project/gwinn/api-client-dotnet)
[![NuGet](https://img.shields.io/nuget/v/Retailcrm.SDK.svg?style=flat-square)](https://www.nuget.org/packages/Retailcrm.SDK/) [![NuGet](https://img.shields.io/nuget/v/Retailcrm.SDK.svg?logo=nuget&logoColor=white)](https://www.nuget.org/packages/Retailcrm.SDK/)
# retailCRM API C# client # RetailCRM API C# client
This is C# retailCRM API client. This library allows to use all available API versions. This is C# RetailCRM API client. This library allows to use all available API versions.
## Install ## Install
@ -22,7 +22,7 @@ using Retailcrm;
using Retailcrm.Versions.V5; using Retailcrm.Versions.V5;
... ...
Client api = new Client("https://demo.retailcrm.ru", "T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH"); Client api = new Client("https://demo.retailcrm.pro", "T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH");
Response response = api.OrdersGet("12345", "externalId"); Response response = api.OrdersGet("12345", "externalId");
if (response.IsSuccessful()) { if (response.IsSuccessful()) {
@ -40,7 +40,7 @@ using Retailcrm;
using Retailcrm.Versions.V4; using Retailcrm.Versions.V4;
... ...
Client api = new Client("https://demo.retailcrm.ru", "T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH"); Client api = new Client("https://demo.retailcrm.pro", "T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH");
Response response = api.OrdersCreate(new Dictionary<string, object> Response response = api.OrdersCreate(new Dictionary<string, object>
{ {
{"externalId", "12345"}, {"externalId", "12345"},
@ -68,11 +68,7 @@ Response response = api.OrdersCreate(new Dictionary<string, object>
if (response.IsSuccessful()) { if (response.IsSuccessful()) {
Debug.WriteLine(response.GetResponse()["externalId"].ToString()); Debug.WriteLine(response.GetResponse()["externalId"].ToString());
} else { } else {
Debug.WriteLine($"Ошибка: [Статус HTTP-ответа {response.GetStatusCode().ToString()}]"); Debug.WriteLine($"Error: [HTTP status code {response.GetStatusCode().ToString()}]");
} }
``` ```
### Documentation
* [English](https://help.retailcrm.pro/Developers/Index)
* [Russian](https://help.retailcrm.ru/Developers/Index)

View File

@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой. // связанные со сборкой.
[assembly: AssemblyTitle("Retailcrm.SDK")] [assembly: AssemblyTitle("Retailcrm.SDK")]
[assembly: AssemblyDescription("Multiversion API client for retailCRM")] [assembly: AssemblyDescription("Multiversion API client for RetailCRM")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("RetailDriver LLC")] [assembly: AssemblyCompany("RetailDriver LLC")]
[assembly: AssemblyProduct("Retailcrm.SDK")] [assembly: AssemblyProduct("Retailcrm.SDK")]
[assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2019")] [assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2020")]
[assembly: AssemblyTrademark("RetailDriver LLC")] [assembly: AssemblyTrademark("RetailDriver LLC")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]

View File

@ -2,16 +2,16 @@
<package > <package >
<metadata> <metadata>
<id>Retailcrm.SDK</id> <id>Retailcrm.SDK</id>
<version>5.1.2</version> <version>5.1.3</version>
<title>$title$</title> <title>$title$</title>
<authors>retailCRM</authors> <authors>RetailCRM</authors>
<owners>retailCRM</owners> <owners>RetailCRM</owners>
<license type="expression">MIT</license> <license type="expression">MIT</license>
<projectUrl>https://retailcrm.ru</projectUrl> <projectUrl>https://github.com/retailcrmapi-client-dotnet</projectUrl>
<iconUrl>https://help.retailcrm.ru/favicon.ico</iconUrl> <iconUrl>https://s3-s1.retailcrm.tech/eu-central-1/retailcrm-static/branding/retailcrm/favicon/favicon.ico</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Multiversion API client for retailCRM</description> <description>Multiversion API client for RetailCRM</description>
<releaseNotes>Fix POST request for big data</releaseNotes> <releaseNotes>Rebranding</releaseNotes>
<copyright>Copyright 2017-2020</copyright> <copyright>Copyright 2017-2020</copyright>
<tags>crm ecommerce retailcrm sdk</tags> <tags>crm ecommerce retailcrm sdk</tags>
</metadata> </metadata>

View File

@ -2,12 +2,12 @@ using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RetailcrmUnitTest")] [assembly: AssemblyTitle("RetailcrmUnitTest")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("Tests for RetailCRM SDK")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("RetailDriver LLC")]
[assembly: AssemblyProduct("RetailcrmUnitTest")] [assembly: AssemblyProduct("RetailcrmUnitTest")]
[assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2020")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("RetailDriver LLC")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]