"""
http://tempo-db.com/api/write-series/#bulk-write-multiple-series
"""

import datetime
from tempodb import Client

client = Client('your-api-key', 'your-api-secret')

data = {
    't': datetime.datetime.now().isoformat(),
    'data': [
        { 'key': 'custom-series-key1', 'v': 1.11 },
        { 'key': 'custom-series-key2', 'v': 2.22 },
        { 'key': 'custom-series-key3', 'v': 3.33 },
        { 'key': 'custom-series-key4', 'v': 4.44 },
    ],
}

print client.write_bulk(data)

@@ -163,20 +163,20 @@
 cret')%0A%0A
-data
+bulk
  = %7B%0A   
@@ -474,14 +474,14 @@
 te_bulk(
-data
+bulk
 )%0A

change data to bulk to be less confusing