search_slideshows API

159 views
Skip to first unread message

coralie ludovic

unread,
Mar 15, 2012, 9:04:14 AM3/15/12
to SlideShare Developers
Hello,

I have a problem with your API, i looking for slide in french
language, i use the search_slideshows API.

My request is:

http://www.slideshare.net/api/2/search_slideshows/?api_key=".$key."&ts=".$ts."&hash=".$hash."&q=cancer
du sein&lang=fr

And on return, in the response xml, i have all the language. Some
slides is in en <Language>en</Language>, <Language>ar</Language>

I don't understand why ?

And another question: your API search on the title of the documents or
in all the content of the document ?

Thank for your answer.

Pranav Prakash

unread,
Mar 19, 2012, 6:56:43 AM3/19/12
to coralie ludovic, SlideShare Developers
Hi Coralie,

This was a bug which has now been taken care of. You can add filters for language in the search_slideshows call. The list of supported languages are ['ar', 'bg', 'ca', 'da', 'de', 'el', 'en', 'es', 'et', 'fa', 'fi', 'fr', 'fy', 'ga', 'he', 'hi', 'hr', 'hu', 'io', 'is', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sl', 'sv', 'th', 'uk', 'vi', 'zh']. If this param is not specified, no filter on language is applied.

Cheers :)

> --
> You received this message because you are subscribed to the Google Groups "SlideShare Developers" group.
> To post to this group, send email to slideshare...@googlegroups.com.
> To unsubscribe from this group, send email to slideshare-devel...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/slideshare-developers?hl=en.
>

--
Pranav Prakash
Engineer @SlideShare

"temet nosce"

Thiago Cruz

unread,
Apr 24, 2012, 5:21:09 PM4/24/12
to SlideShare Developers
I am having some problem with this method too.
This is my request:
http://www.slideshare.net/api/2/search_slideshows?api_key=$key&ts=$ts&hash=$hash&q=php&detailed=1&items_per_page=50&sort=latest&page=1&lang=**
The first item for its is from 2007, is there a way to order/sort it
from newest to oldest?

Best regards!

On Mar 19, 7:56 am, Pranav Prakash <pprak...@slideshare.com> wrote:
> Hi Coralie,
>
> This was  a bug which has now been taken care of. You can add filters for language in the search_slideshows call. The list of supported languages are ['ar', 'bg', 'ca', 'da', 'de', 'el', 'en', 'es', 'et', 'fa', 'fi', 'fr', 'fy', 'ga', 'he', 'hi', 'hr', 'hu', 'io', 'is', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sl', 'sv', 'th', 'uk', 'vi', 'zh']. If this param is not specified, no filter on language is applied.
>
> Cheers :)
>
> On 15-Mar-2012, at 6:34 PM, coralie ludovic wrote:
>
>
>
>
>
>
>
>
>
> > Hello,
>
> > I have a problem with your API, i looking for slide in french
> > language, i use the search_slideshows API.
>
> > My request is:
>
> >http://www.slideshare.net/api/2/search_slideshows/?api_key=".$key."&ts=".$ts."&hash=".$hash."&q=cancer
> > du sein&lang=fr
>
> > And on return, in the response xml, i have all the language. Some
> > slides is in en <Language>en</Language>, <Language>ar</Language>
>
> > I don't understand why ?
>
> > And another question: your APIsearchon the title of the documents or
> > in all the content of the document ?
>
> > Thank for your answer.
>
> > --
> > You received this message because you are subscribed to the Google Groups "SlideShare Developers" group.
> > To post to this group, send email to slideshare...@googlegroups.com.
> > To unsubscribe from this group, send email to slideshare-devel...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/slideshare-developers?hl=en.

Pranav Prakash

unread,
Apr 25, 2012, 9:50:54 AM4/25/12
to slideshare...@googlegroups.com
Hi Coralie,

This issue stands resolved now. You should be able to sort the results on the basis of upload date using "sort=latest". 

Cheers :)

--
Pranav Prakash

Thiago Cruz

unread,
Apr 25, 2012, 10:26:41 AM4/25/12
to slideshare...@googlegroups.com
Very thanks for this!
You guys are great.
Reply all
Reply to author
Forward
0 new messages