<aside> š” Nomie API is only available to select Nomie Cloud plans
</aside>
The API allows you to push data notes into Nomie, for example importing your sleep data using IFTTT or Zapier.
API calls are not sent directly to the device. Instead, each note sent through the API is encrypted with your public key and held in a slot until Nomie on your deviceĀ can import and decrypt it. That slot will be freed up once Nomie pulls the note down.
Each plan comes with a set number of API slots. If you haven't used nomie in a while and all of your slots are full, API calls will return an error stating that you've reached your limit.
Following the instructions in the API section, you can only POST a data note play to the URL provided in the interface.
note: (required) string - the data note containing #your +tags and stuff
key: (required) string - your API key
created: Date - a javascript compliant date string
location: Name of the location
lat: latitude
lng: longitude
score: number
{
"note": "I'm tracking daaaata! #mood(5) #sleep(05:54:34)",
"created": "2022-02-25T13:36:23.291Z",
"lat": 37.81,
"lng": -81.63,
"location": "Somewhere"
"key": "123456789123456789234567789"
}
If you have a paid Nomie account, go to the More tab to access the API settings.