Baidu.Yingyan 1.1.0-alpha2

.NET Standard 2.0
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.
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.
paket add Baidu.Yingyan --version 1.1.0-alpha2
#r "nuget: Baidu.Yingyan, 1.1.0-alpha2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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-alpha2&prerelease

// Install Baidu.Yingyan as a Cake Tool
#tool nuget:?package=Baidu.Yingyan&version=1.1.0-alpha2&prerelease

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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 5,823 3/21/2018
1.1.0-alpha2 849 12/30/2017
1.1.0-alpha 821 12/27/2017
1.0.4 963 9/19/2017
1.0.3 939 1/11/2017
1.0.2 978 1/11/2017
1.0.1 828 1/4/2017
1.0.0 811 1/4/2017