Skip to content

Instantly share code, notes, and snippets.

View vi3k6i5's full-sized avatar
👨‍💻
Learning...

Vikash Singh vi3k6i5

👨‍💻
Learning...
View GitHub Profile
@vi3k6i5
vi3k6i5 / thingspeak api
Created December 11, 2016 18:34
thingspeak api call example
import requests
resp = requests.post('https://api.thingspeak.com/update.json',
json={"api_key"="XXXXXXXXXXXXXXXX",
"field1"=73,
"field2"=66})
{% for form in form_list %}
<div class="form-group">
<label for="id_video_{{ forloop.counter }}">Video {{ forloop.counter }}:</label>
{{ form.video_link }}
</div>
{% endfor %}