GithubHelp home page GithubHelp logo

senti-iot / senti-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 94 KB

Senti.API

Home Page: https://senti.io

License: MIT License

JavaScript 76.91% Shell 23.09%
javascript nodejs senti cloud-api senti-api proxy senti-data

senti-api's Introduction

Senti.API

Senti.Cloud API (Senti.API) allows you to build your own IoT Dashboards, Apps and Widgets.

Senti.API support access to your Senti IoT device data or paid access to Senti Big Data based upon the crowd-sourced anonymised pool of Senti data.

Senti.API also works as a consolidated proxy for other API endpoints that Senti and Senti.Cloud use for its services.

API version: 1.0

Documentation

API Version

Query the latest version of the different API's. This is ideal to call in your initial configuration or other API configuration. API version can be queried without authentication.

Always issue a call to this API before using a specific API if you want to use the latest version of the given API.

Endpoint

https://api.senti.cloud/apiversion/someapi

Example

// returns the current version of the the following API's
https://api.senti.cloud/apiversion/weather
https://api.senti.cloud/apiversion/holidays

Authentication

The API is authenticated through a bearer token in the call header. To obtain a token please contact [email protected].

const api = create({
	baseURL: 'https://api.senti.cloud',
	timeout: 30000,
	headers: {
		'auth': 'Your Senti.API token'
	}
})

Weather

The weather API is a proxy for the Dark Sky weather API. https://darksky.net/dev

API Route /:version/:date/:lat/:long/:lang

Holidays

Date format: YYYY-MM-DD

Language Holidays API support Danish holidays in Danish and English.

API Route: /:version/:startdate/:enddate/:lang

Annual Events

Date format: YYYY-MM-DD

Language Annual Events API support Danish special annual events in Danish and English.

API Route: /:version/:startdate/:enddate/:lang

senti-api's People

Contributors

alexand3r avatar cbroberg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.