⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

returning raw data



kenvogt
  • profile picture
  • Member

Posted 22 May 2012 - 01:11 AM

Is there a way to use the api to return merely the raw data resulting from a query and not the formatted output?

kenvogt
  • profile picture
  • Member

Posted 22 May 2012 - 18:43 PM

It seems the answer is to create a custom model with set_model() that includes a function that returns the raw data.

Gauthierr
  • profile picture
  • Member

Posted 25 September 2012 - 15:30 PM

Hello,

Did you manage to retrieve raw data? I'll be very interested since I'm having the same kind of question. Maybe you have an exemple that works?

For info, I'd like to retrieve raw data to display them on a map with Leaflet.
Thank you very much!