/azure-recordings

Save recordings to Azure CosmosDB

Primary LanguageJupyter Notebook

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}