Javascript Sdk

Traintracks Javascript SDK
Alternatives To Javascript Sdk
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Mockgps553
3 years ago21gpl-3.0Java
Android application to fake GPS
Gprs_c_sdk403
7 months ago260mitC
Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
Gpmf Parser395
6 months ago14apache-2.0C
Parser for GPMF™ formatted telemetry data used within GoPro® cameras.
Googleplayservicescomponents2761,0122519 days ago74December 13, 2022146otherC#
Oldx Fc_quadruped_quadrotor230
2 years ago1
OLDX_MocoMoco四足机器人开发平台 (每Star超过20更新 当日更新) Engilish Ver:https://github.com/golaced/OLDX-FC_QUADRUPED_QUADROTOR/tree/golaced-patch-1-en
Oldx_fly_controller194
4 years ago1C
多旋翼开源飞控 更新中 请Star支持一下
Samples Coronasdk60
5 months ago3Lua
Sample code for Corona SDK.
Udesksdk Ios56
22 months ago67December 09, 2021mitObjective-C
UdeskSDK-iOS
Gps Sdk30
8 months ago6bsd-3-clause
The official SDK for developers to use Bad Elf GPS accessories on iOS, Android, and Windows devices.
Mocomoco_software25
3 years ago
四足机器人 固件集合
Alternatives To Javascript Sdk
Select To Compare


Alternative Project Comparisons
Readme

javascript-sdk

Traintracks Javascript SDK

Usage

Javascript

  • Include javascript/production/sdk[-min].js
  • Run TT.init(options: Object) to intialize SDK
  • Run TT.log(eventType: String, data: Object) to send your event to Traintracks

Options

  • token: String required your product key
  • secret: String required your product secret
  • build: String required your product version
  • userId: String required current user ID
  • userName: String required current user name
  • sessionId: String required session's ID
  • device: String optional device info, navigator.userAgent is used by default
  • latitude: Float optional gps latitude of event. both latitude and longitude must be sent to enable geospatial queries
  • longitude: Float optional gps longitude of event. both latitude and longitude must be sent to enable geospatial queries
  • endpoint: URL optional server endpoint, default is http://api.traintracks.io/v1/events
  • print: Boolean optional if print your event by console.log, false by default
  • dry: Boolean optional if bypass underlying requests, convenient for debugging, false by default

Example

For an example on how to use this SDK, please see javascript/test/live-example.html

Popular Sdk Projects
Popular Gps Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Sdk
Gps
Geospatial