Baidu.Yingyan
1.1.0-alpha2
This is a prerelease version of Baidu.Yingyan.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Baidu.Yingyan --version 1.1.0-alpha2
NuGet\Install-Package Baidu.Yingyan -Version 1.1.0-alpha2
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-alpha2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Baidu.Yingyan" Version="1.1.0-alpha2" />
<PackageReference Include="Baidu.Yingyan" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Baidu.Yingyan --version 1.1.0-alpha2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Baidu.Yingyan, 1.1.0-alpha2"
#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.
#:package Baidu.Yingyan@1.1.0-alpha2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Baidu.Yingyan&version=1.1.0-alpha2&prerelease
#tool nuget:?package=Baidu.Yingyan&version=1.1.0-alpha2&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-alpha2
PM> Install-Package Baidu.Yingyan -Version 1.1.0-alpha2
使用
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
});
最近更新
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 (>= 10.0.3)
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 | 10,116 | 3/21/2018 |
| 1.1.0-alpha2 | 1,774 | 12/30/2017 |
| 1.1.0-alpha | 1,701 | 12/27/2017 |
| 1.0.4 | 1,803 | 9/19/2017 |
| 1.0.3 | 1,706 | 1/11/2017 |
| 1.0.2 | 1,718 | 1/11/2017 |
| 1.0.1 | 1,376 | 1/4/2017 |
| 1.0.0 | 1,350 | 1/4/2017 |