> I Have a website that has a page returning some rows in json , now how can i fitch those rows and insert them to my database ?
*# *raw is the string with the json response
import simplejson
rows = simplejson.loads(raw)
fields = db.<a table>.fields()
for row in rows:
db.<a table>.update_or_insert(**dict([(key, row[key]) for key in row ifkey
in fields]))
--

