pgfaller / azure-recordings

Save recordings to Azure CosmosDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recordings

Records temperature and humidity in Azure CosmosDB

  • databaseName: "Climate",
  • collectionName: "Recordings",

Sample data

{
  "timestamp": 1564238900,
  "temperature": 21.3,
  "humidity": 45.6
}

Function Invocation

curl -X POST -d "{ timestamp: $(date +%s), temperature: 21.3, humidity: 45.6 }" https://recordingspgf.azurewebsites.net/api/RecordOneReading?code=${FUNCTIONCODE}

About

Save recordings to Azure CosmosDB


Languages

Language:Jupyter Notebook 99.0%Language:C# 0.8%Language:PowerShell 0.2%