I hereby claim:
- I am maxcell on github.
- I am maxcell (https://keybase.io/maxcell) on keybase.
- I have a public key ASD15jLdB6ohJYM3tc634J8v0fzvpqEFPQAfdCNBMRKzago
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
curl --request PUT \ | |
--url http://<NANOLEAF_API_ENDPOINT>/api/v1/<AUTH_TOKEN>/effects \ | |
--header 'Content-Type: application/json' \ | |
--data '{ "write":{ | |
"command": "display", | |
"version": "1.0", | |
"animType": "wheel", | |
"colorType": "HSB", | |
"transTime": { | |
"minValue": 4, |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
#### | |
# In views.py | |
from django.shortcuts import render, get_object_or_404 | |
from django.http import HttpResponseRedirect, HttpResponse | |
from django.urls import reverse | |
def create_user(request): | |
# ...Logic for creating the user... | |