Baidu.Yingyan
1.1.0-alpha3
This is a prerelease version of Baidu.Yingyan.
dotnet add package Baidu.Yingyan --version 1.1.0-alpha3
NuGet\Install-Package Baidu.Yingyan -Version 1.1.0-alpha3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Baidu.Yingyan" Version="1.1.0-alpha3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Baidu.Yingyan --version 1.1.0-alpha3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Baidu.Yingyan, 1.1.0-alpha3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Baidu.Yingyan as a Cake Addin #addin nuget:?package=Baidu.Yingyan&version=1.1.0-alpha3&prerelease // Install Baidu.Yingyan as a Cake Tool #tool nuget:?package=Baidu.Yingyan&version=1.1.0-alpha3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Baidu.Yingyan
百度 鹰眼轨迹服务 C# 版本 SDK,基于 鹰眼 Web服务 API v3.0 实现。
已实现接口
NuGet
https://www.nuget.org/packages/Baidu.Yingyan/1.1.0-alpha3
PM> Install-Package Baidu.Yingyan -Version 1.1.0-alpha3
使用
var ak = "YOUR_AK";
var service_id = "YOUR_SERVICE_ID";
// 初始化api
var api = new YingyanApi(ak, service_id);
// entity name
var name = "name001";
// 新增一个 entity
var r1 = await api.entity.add(name, "测试");
// 添加一个位置点
var r2 = await api.track.addpoint(new TrackPoint()
{
latitude = 11.111,
longitude = 22.333,
coord_type_input = CoordTypeEnums.bd09ll,
entity_name = name,
loc_time = DateTime.Now,
});
// 查询轨迹
var r3 = await api.track.gettrack(new TrackHistoryGetTrackParam() {
entity_name = name,
start_time = DateTime.Now.AddDays(-1),
end_time = DateTime.Now
});
最近更新
2018/03/21
- 增加管理围栏监控对象
2017/12/30
- 增加sn验证,官方的sn计算算法的示例代码是个坑!
- 将参数集合类型从 NameValueCollection 改为 Dictionary
2017/12/27
- 基于 鹰眼 Web服务 API v3.0 全新实现,与上一个版本不兼容,需要适配。
- 目前还未测试完全。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Newtonsoft.Json (>= 11.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0-alpha3 | 8,187 | 3/21/2018 |
1.1.0-alpha2 | 1,016 | 12/30/2017 |
1.1.0-alpha | 981 | 12/27/2017 |
1.0.4 | 1,212 | 9/19/2017 |
1.0.3 | 1,125 | 1/11/2017 |
1.0.2 | 1,161 | 1/11/2017 |
1.0.1 | 978 | 1/4/2017 |
1.0.0 | 953 | 1/4/2017 |