mirror of
https://github.com/retailcrm/api-client-dotnet.git
synced 2024-11-21 20:36:02 +03:00
Update product name, cleanup annotations (#15)
This commit is contained in:
parent
b8794e57ed
commit
0c784f003c
2
LICENSE
2
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
|
||||
|
18
README.md
18
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<string, object>
|
||||
{
|
||||
{"externalId", "12345"},
|
||||
@ -68,11 +68,7 @@ Response response = api.OrdersCreate(new Dictionary<string, object>
|
||||
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)
|
||||
|
@ -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("")]
|
||||
|
||||
|
@ -2,16 +2,16 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>Retailcrm.SDK</id>
|
||||
<version>5.1.2</version>
|
||||
<version>5.1.3</version>
|
||||
<title>$title$</title>
|
||||
<authors>retailCRM</authors>
|
||||
<owners>retailCRM</owners>
|
||||
<authors>RetailCRM</authors>
|
||||
<owners>RetailCRM</owners>
|
||||
<license type="expression">MIT</license>
|
||||
<projectUrl>https://retailcrm.ru</projectUrl>
|
||||
<iconUrl>https://help.retailcrm.ru/favicon.ico</iconUrl>
|
||||
<projectUrl>https://github.com/retailcrmapi-client-dotnet</projectUrl>
|
||||
<iconUrl>https://s3-s1.retailcrm.tech/eu-central-1/retailcrm-static/branding/retailcrm/favicon/favicon.ico</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Multiversion API client for retailCRM</description>
|
||||
<releaseNotes>Fix POST request for big data</releaseNotes>
|
||||
<description>Multiversion API client for RetailCRM</description>
|
||||
<releaseNotes>Rebranding</releaseNotes>
|
||||
<copyright>Copyright 2017-2020</copyright>
|
||||
<tags>crm ecommerce retailcrm sdk</tags>
|
||||
</metadata>
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user