Accessing DataparkSearch results in Ruby, PHP and Python

58 views
Skip to first unread message

Maxime

unread,
Nov 23, 2013, 4:50:27 PM11/23/13
to datapar...@googlegroups.com
Hi,

I have posted examples of getting DataparkSearch results in Ruby, PHP and Python in my blog:

http://blog.dataparksearch.org/441 - Ruby sample
http://blog.dataparksearch.org/446 - PHP sample
http://blog.dataparksearch.org/452 - Python sample

Iain Watson Smith

unread,
Nov 6, 2015, 8:47:20 AM11/6/15
to DataparkSearch Engine
Hello Maxime,

I've tried to use the python script you given below... Only I get an error that "No JSON object could be decoded".
I'm using the latest IPython packages, and tried also @ with localhost where my url database is stored. 
I'm also using dpsearch build 4.54 posted on 2015-07-06. Any suggestions on why it doesn't return JSON data? 

Maxim Zakharov

unread,
Nov 9, 2015, 4:25:53 PM11/9/15
to DataparkSearch Engine

Hi Iain,

It was a bug which prevented to serve requests correctly, I have fixed it and pushed the fix into git repository. So the python script now works as expected.
Let me know if you prefer to have a new package made with this fix.

Best regards,
Maxim Zakharov


--
You received this message because you are subscribed to the Google Groups "DataparkSearch Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataparksearc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages