From 0c784f003c29ee1c1f55f15f25dc846efa17b405 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Tue, 15 Dec 2020 13:29:48 +0300 Subject: [PATCH] Update product name, cleanup annotations (#15) --- LICENSE | 2 +- README.md | 18 +++++++----------- Retailcrm/Properties/AssemblyInfo.cs | 4 ++-- Retailcrm/Retailcrm.nuspec | 14 +++++++------- RetailcrmUnitTest/Properties/AssemblyInfo.cs | 8 ++++---- 5 files changed, 21 insertions(+), 25 deletions(-) diff --git a/LICENSE b/LICENSE index dce51a1..c27424b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ 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 of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index ccb9f0f..16deef7 100644 --- a/README.md +++ b/README.md @@ -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) -[![NuGet](https://img.shields.io/nuget/v/Retailcrm.SDK.svg?style=flat-square)](https://www.nuget.org/packages/Retailcrm.SDK/) +[![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?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 @@ -22,7 +22,7 @@ using Retailcrm; 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"); if (response.IsSuccessful()) { @@ -40,7 +40,7 @@ using Retailcrm; 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 { {"externalId", "12345"}, @@ -68,11 +68,7 @@ Response response = api.OrdersCreate(new Dictionary if (response.IsSuccessful()) { Debug.WriteLine(response.GetResponse()["externalId"].ToString()); } 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) diff --git a/Retailcrm/Properties/AssemblyInfo.cs b/Retailcrm/Properties/AssemblyInfo.cs index 1bd10a6..3c379f8 100644 --- a/Retailcrm/Properties/AssemblyInfo.cs +++ b/Retailcrm/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("Retailcrm.SDK")] -[assembly: AssemblyDescription("Multiversion API client for retailCRM")] +[assembly: AssemblyDescription("Multiversion API client for RetailCRM")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("RetailDriver LLC")] [assembly: AssemblyProduct("Retailcrm.SDK")] -[assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2019")] +[assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2020")] [assembly: AssemblyTrademark("RetailDriver LLC")] [assembly: AssemblyCulture("")] diff --git a/Retailcrm/Retailcrm.nuspec b/Retailcrm/Retailcrm.nuspec index f73d094..b96a331 100644 --- a/Retailcrm/Retailcrm.nuspec +++ b/Retailcrm/Retailcrm.nuspec @@ -2,16 +2,16 @@ Retailcrm.SDK - 5.1.2 + 5.1.3 $title$ - retailCRM - retailCRM + RetailCRM + RetailCRM MIT - https://retailcrm.ru - https://help.retailcrm.ru/favicon.ico + https://github.com/retailcrmapi-client-dotnet + https://s3-s1.retailcrm.tech/eu-central-1/retailcrm-static/branding/retailcrm/favicon/favicon.ico false - Multiversion API client for retailCRM - Fix POST request for big data + Multiversion API client for RetailCRM + Rebranding Copyright 2017-2020 crm ecommerce retailcrm sdk diff --git a/RetailcrmUnitTest/Properties/AssemblyInfo.cs b/RetailcrmUnitTest/Properties/AssemblyInfo.cs index 7117b97..4035e40 100644 --- a/RetailcrmUnitTest/Properties/AssemblyInfo.cs +++ b/RetailcrmUnitTest/Properties/AssemblyInfo.cs @@ -2,12 +2,12 @@ using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RetailcrmUnitTest")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Tests for RetailCRM SDK")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("RetailDriver LLC")] [assembly: AssemblyProduct("RetailcrmUnitTest")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyCopyright("Copyright © RetailDriver LLC 2020")] +[assembly: AssemblyTrademark("RetailDriver LLC")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)]