SlideShare a Scribd company logo
1 of 10
<h1>SlideShare API » Documentation</h1>

<div class="information" style="width: 530px;">

<h2 class="title">API Validation using the SlideShare API</h2>

<p>All requests made using the SlideShare API must have the following parameters:</
p>
<ul>
      <li>api_key: Set this to the API Key that SlideShare has provided for
you.</li>
      <li>ts: Set this to the current time in Unix TimeStamp format, to the nearest
second(<a class="blue_link_bold" target="_blank" href=http://en.wikipedia.org/wiki/
Unix_time>?</a>).</li>
      <li>hash: Set this to the SHA1 hash of the concatenation of the shared secret
and the timestamp (ts).
i.e. SHA1 (sharedsecret + timestamp). The order of the terms in the concatenation
is important.</li>
</ul>

<h2 class="title">Authentication using the slideshare API</h2>

<p>Requests that request private data from users, or that act on their behalf, must
include the following parameters:</p>
<ul>
      <li>username: set this to the username of the account whose data is being
requested.</li>
      <li>password: set this to the password of the account whose data is being
requested.</li>
</ul>

<h2 class="title">API Methods</h2>

<div class="apiMethod" id="get_slideshow"> <!-- an API method starts here -->
<p class="methodName">Get Slideshow Information</p>

<ul>
<li><strong>Request type:</strong> HTTP</li>
<li><strong>Authorization:</strong> Optional</li>
<li><strong>URL:</strong><a href="http://www.slideshare.net/api/2/get_slideshow">
http://www.slideshare.net/api/2/get_slideshow</a></li>
</ul>

<ul>
<li><strong>Required parameters</strong></li>
<li><strong>slideshow_id:</strong> id of the slideshow to be fetched.</li>
<li><strong>slideshow_url: </strong>URL of the slideshow to be fetched. This is
required if slideshow_id is not set. If both are set, slideshow_id takes
precedence.</li>
</ul>

<ul>
<li class="vspace"><strong>Optional parameters</strong></li>
<li class="vspace"><strong>username:</strong> username of the requesting user</li>
<li><strong>password:</strong> password of the requesting user</li>
<li><strong>detailed:</strong> Whether or not to include optional information. 1 to
include, 0 (default) for basic information.</li>
</ul>

<span class="vspace"><strong>Response XML Format:</strong> (Green text represents
additional information provided by `detailed` parameter)</span>

<pre class="samplecodeNormal vspace">
&lt;Slideshow&gt;
  &lt;ID&gt;{ slideshow id }&lt;/ID&gt;
  &lt;Title&gt;{ slideshow title }&lt;/Title&gt;
  &lt;Description&gt;{ slideshow description }&lt;/Description&gt;
  &lt;Status&gt;{ 0 if queued for conversion, 1 if converting, 2 if converted,
            3 if conversion failed }
  &lt;/Status&gt;
  &lt;Username&gt;{ username }&lt;/Username&gt;
  &lt;URL&gt;{ web permalink }&lt;/URL&gt;
  &lt;ThumbnailURL&gt;{ thumbnail URL }&lt;/ThumbnailURL&gt;
  &lt;ThumbnailSmallURL&gt;{ URL of smaller thumbnail }&lt;/ThumbnailSmallURL&gt;
  &lt;Embed&gt;{ embed code }&lt;/Embed&gt;
  &lt;Created&gt;{ date slideshow created }&lt;/Created&gt;
  &lt;Language&gt;{ language, as specified by two-letter code }&lt;/Language&gt;
  &lt;Format&gt;ppt (or pdf, pps, odp, doc, pot, txt, rdf) &lt;/Format&gt;
  &lt;Download&gt;{ 1 if available to download, else 0 }&lt;/Download&gt;

<pre class="samplecodeHighlighted">
&lt;Tags&gt;
  &lt;Tag Count="{ number of times tag has been used }" Owner="{ 1 if owner
                has used the tag, else 0 }"&gt;{ tag name }
  &lt;/Tag&gt;
  &lt;/Tags&gt;
  &lt;NumDownloads&gt;{ number of downloads }&lt;/NumDownloads&gt;
  &lt;NumViews&gt;{ number of views }&lt;/NumViews&gt;
  &lt;NumComments&gt;{ number of comments }&lt;/NumComments&gt;
  &lt;NumFavorites&gt;{ number of favorites }&lt;/NumFavorites&gt;
  &lt;NumSlides&gt;{ number of slides }&lt;/NumSlides&gt;
  &lt;RelatedSlideshows&gt;
    &lt;RelatedSlideshowID rank="{ rank, where 1 is highest}"&gt;
    { slideshow id } &lt;/RelatedSlideshowID&gt;
  &lt;/RelatedSlideshows&gt;
  &lt;PrivacyLevel&gt;{ 0, or 1 if private }&lt;/PrivacyLevel&gt;
  &lt;SecretURL&gt;{ 0, or 1 if secret URL is enabled }&lt;/SecretURL&gt;
  &lt;AllowEmbed&gt;{ 0, or 1 if embeds are allowed }&lt;/AllowEmbed&gt;
  &lt;ShareWithContacts&gt;{ 0, or 1 if set to private, but contacts can view
                       slideshow }
  &lt;/ShareWithContacts&gt;
&lt;/Slideshow&gt;
</pre>
</pre>

</div><!-- an API method ends here -->

<div class="apiMethod" id="get_slideshows_by_tag">
<p class="methodName">Get Slideshows By Tag</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>None</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_slideshows_by_tag">http://www.slideshare.
net/api/2/get_slideshows_by_tag</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>tag : </strong> tag name</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>limit : </strong>specify number of items to return</li>
<li><strong>offset : </strong>specify offset</li>
<li><strong>detailed : </strong>Whether or not to include optional information. 1
to include, 0 (default) for basic information.</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Tag&gt;
  &lt;Name&gt;{ Tag Name }&lt;/Name&gt;
  &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt;
  &lt;Slideshow&gt;
    { as in get_slideshow }
  &lt;/Slideshow&gt;
  ...
&lt;/Tag&gt;
</pre>
</div>

<div class="apiMethod" id="get_slideshows_by_group">
<p class="methodName">Get Slideshows By Group</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>None</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_slideshows_by_group">http://www.slideshar
e.net/api/2/get_slideshows_by_group</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>group_name : </strong>Group name (as returned in QueryName element in
get_user_groups method)</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>limit : </strong>specify number of items to return</li>
<li><strong>offset : </strong>specify offset</li>
<li><strong>detailed : </strong>Whether or not to include optional information. 1
to include, 0 (default) for basic information.</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Group&gt;
  &lt;Name&gt;{ Group Name }&lt;/Name&gt;
  &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt;
  &lt;Slideshow&gt;
    { as in get_slideshow }
  &lt;/Slideshow&gt;
  ...
&lt;/Group&gt;
</pre>
</div>

<div class="apiMethod" id="get_slideshows_by_user">
<p class="methodName">Get Slideshows By User</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>None</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_slideshows_by_user">http://www.slideshare
.net/api/2/get_slideshows_by_user</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username_for : </strong>username of owner of slideshows</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
<li><strong>limit : </strong>specify number of items to return</li>
<li><strong>offset : </strong>specify offset</li>
<li><strong>detailed : </strong>Whether or not to include optional information. 1
to include, 0 (default) for basic information.</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;User&gt;
  &lt;Name&gt;{ username_for }&lt;/Name&gt;
  &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt;
  &lt;Slideshow&gt;
    { as in get_slideshow }
  &lt;/Slideshow&gt;
  ...
&lt;/User&gt;
</pre>
</div>

<div class="apiMethod" id="search_slideshows">
<p class="methodName">Slideshow Search</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>None</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/search_slideshows">http://www.slideshare.net/
api/2/search_slideshows</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>q : </strong>the query string</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>page : </strong>The page number of the results (works in conjunction
with items_per_page), default is 1</li>
<li><strong>items_per_page : </strong>Number of results to return per page, default
is 12</li>
<li><strong>lang : </strong>Language of slideshows (default is English, 'en')
('**':All,'es':Spanish,'pt':Portuguese,'fr':French,'it':Italian,'nl':Dutch,
'de':German,'zh':Chinese,'ja':Japanese,'ko':Korean,'ro':Romanian,'!!':Other)</li>
<li><strong>sort : </strong>Sort order (default is 'relevance')
('mostviewed','mostdownloaded','latest') </li>
<li><strong>what : </strong>What type of search. If not set, text search is used.
'tag' is the other option.</li>
<li><strong>download : </strong>Slideshows that are available to download; Set to
'0' to do this, otherwise default is all slideshows.</li>
<li><strong>fileformat : </strong>File format to search for. Default is "all".
('pdf':PDF,'ppt':PowerPoint,'odp':Open Office,'pps':PowerPoint
Slideshow,'pot':PowerPoint template)</li>
<li><strong>cc : </strong>Set to '1' to retrieve results under the Creative Commons
license. Default is '0'</li>
<li><strong>cc_adapt : </strong>Set to '1' for results under Creative Commons that
allow adaption, modification. Default is '0'</li>
<li><strong>detailed : </strong>Whether or not to include optional information. 1
to include, 0 (default) for basic information.</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Slideshows&gt;
&lt;Meta&gt;
  &lt;Query&gt;{ query }&lt;/Query&gt;
  &lt;ResultOffset&gt;{ the offset of this result (if pages were used)}
  &lt;/ResultOffset&gt;
  &lt;NumResults&gt;{ number of results returned }&lt;/NumResults&gt;
  &lt;TotalResults&gt;{ total number of results}&lt;/TotalResults&gt;
&lt;/Meta&gt;
&lt;Slideshow&gt;
  {as in get_slideshow}
&lt;/Slideshow&gt;
...
&lt;/Slideshows&gt;
</pre>
</div>

<div class="apiMethod" id="get_user_groups">
<p class="methodName">Get User Groups</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Optional</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_user_groups">http://www.slideshare.net/ap
i/2/get_user_groups</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username_for : </strong>username of user whose groups are being
requested</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Groups&gt;
  &lt;Group&gt;
    &lt;Name&gt;{ Group Name }&lt;/Name&gt;
    &lt;NumPosts&gt;{ Number of Posts }&lt;/Name&gt;
    &lt;NumSlideshows&gt;{ Number of Slideshows }&lt;/Name&gt;
    &lt;NumMembers&gt;{ Number of Members }&lt;/Name&gt;
    &lt;Created&gt;{ Created date }&lt;/Name&gt;
    &lt;QueryName&gt;{ Name used for querying (get_slideshows_by_group, etc) }
    &lt;/Name&gt;
    &lt;URL&gt;{ Group URL }&lt;/Name&gt;
  &lt;Group&gt;
  ...
&lt;/Groups&gt;
</pre>
</div>

<div class="apiMethod" id="get_user_contacts">
<p class="methodName">Get User Contacts</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Optional</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_user_contacts">http://www.slideshare.net/
api/2/get_user_contacts</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username_for : </strong>username of user whose Contacts are being
requested</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Contacts&gt;
  &lt;Contact&gt;
    &lt;Userame&gt;{ Username }&lt;/Name&gt;
    &lt;NumSlideshows&gt;{ Number of Slideshows }&lt;/Name&gt;
    &lt;NumComments&gt;{ Number of Comments }&lt;/Name&gt;
  &lt;Contact&gt;
  ...
&lt;/Contacts&gt;
</pre>
</div>

<div class="apiMethod" id="get_user_tags">
<p class="methodName">Get User Tags</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Required</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/get_user_tags">http://www.slideshare.net/api/
2/get_user_tags</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;Tags&gt;
  &lt;Tag Count="{ Number of times tag used }"&gt;{ Tag name }&lt;/Tag&gt;
  ...
&lt;/Tags&gt;
</pre>
</div>

<div class="apiMethod" id="edit_slideshow">
<p class="methodName">Edit Existing Slideshow</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Required</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/edit_slideshow">http://www.slideshare.net/api
/2/edit_slideshow</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
<li><strong>slideshow_id : </strong>slideshow ID</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>slideshow_title : </strong>text</li>
<li><strong>slideshow_description : </strong>text</li>
<li><strong>slideshow_tags : </strong>text</li>
<li><strong>make_slideshow_private : </strong>Should be Y if you want to make the
slideshow private. If this is not set, following tags will not be considered</li>
<li><strong>generate_secret_url : </strong>Generate a secret URL for the slideshow.
Requires make_slideshow_private to be Y</li>
<li><strong>allow_embeds : </strong>Sets if other websites should be allowed to
embed the slideshow. Requires make_slideshow_private to be Y</li>
<li><strong>share_with_contacts : </strong>Sets if your contacts on SlideShare can
view the slideshow. Requires make_slideshow_private to be Y</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;SlideShowEdited&gt;
  &lt;SlideShowID&gt;SlideShowID&lt;/SlideShowID&gt;
&lt;/SlideShowEdited&gt;
</pre>
</div>

<div class="apiMethod" id="delete_slideshow">
<p class="methodName">Delete Slideshow</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Required</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/delete_slideshow">http://www.slideshare.net/a
pi/2/delete_slideshow</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
<li><strong>slideshow_id : </strong>slideshow ID</li>
</ul>

<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;SlideShowDeleted&gt;
  &lt;SlideShowID&gt;SlideShowID&lt;/SlideShowID&gt;
&lt;/SlideShowDeleted&gt;
</pre>
</div>

<div class="apiMethod" id="upload_slideshow">
<p class="methodName">Upload Slideshow</p>

<ul>
<li><strong>Request Type : </strong>HTTP GET</li>
<li><strong>Authorization : </strong>Required</li>
<li><strong>URL : </strong><a
href="http://www.slideshare.net/api/2/upload_slideshow">http://www.slideshare.net/a
pi/2/upload_slideshow</a></li>
</ul>

<ul>
<li><strong>Required parameters </strong></li>
<li><strong>username : </strong>username of the requesting user</li>
<li><strong>password : </strong>password of the requesting user</li>
<li><strong>slideshow_title : </strong>slideshow's title</li>
<li><strong>slideshow_srcfile : </strong>slideshow file</li>
</ul>

<ul>
<li><strong>Optional parameters</strong></li>
<li><strong>slideshow_description : </strong>description</li>
<li><strong>slideshow_tags : </strong>tags should be space separated, use quotes
for multiple word tags</li>
<li><strong>make_src_public : </strong>Y if you want users to be able to download
the ppt file, N otherwise. Default is Y</li>
</ul>

<ul>
<li><strong>Privacy settings (optional)</strong></li>
<li><strong>make_slideshow_private : </strong>Should be Y if you want to make the
slideshow private. If this is not set, following tags will not be considered</li>
<li><strong>generate_secret_url : </strong>Generate a secret URL for the slideshow.
Requires make_slideshow_private to be Y</li>
<li><strong>allow_embeds : </strong>Sets if other websites should be allowed to
embed the slideshow. Requires make_slideshow_private to be Y</li>
<li><strong>share_with_contacts : </strong>Sets if your contacts on SlideShare can
view the slideshow. Requires make_slideshow_private to be Y</li>
</ul>

<p>The document will upload into the account of the user specified by (username /
password). The user associated with the API key need not be the same as the user
into who's account the slideshow gets uploaded. So, for example, a bulk uploader
would include the api_key (and hash) associated with the API account, and the
username and password associated with the account being uploaded to.</p>



<strong>Response XML Format</strong>
<pre class="samplecodeNormal">
&lt;SlideShowUploaded&gt;
  &lt;SlideShowID&gt;{slideshow id goes here}&lt;/SlideShowID&gt;
&lt;/SlideShowUploaded&gt;
</pre>

<p>The slideshare ID will be necessary for retrieving the slideshow embed code,
once the slideshow has been converted into flash.</p>
</div>


<p class="title">Notes about using API</p>

<p>In particular, do NOT write code that calls our API every time you get a web
request. Cache the information so that you can serve it as needed to your users.
API calls are limited to 1000 per day per API_Key. Calls that exceed this limit
will receive an error message in the following format.</p>

<pre class="samplecodeNormal">
&lt;SlideShareServiceError&gt;
  &lt;Message id=99&gt;Account Exceeded Daily Limit&lt;/Message&gt;
&lt;/SlideShareServiceError&gt;
</pre>
<p>In case your application needs to send more than 1000 API requests per day, <a
href="mailto:api@slideshare.com">e-mail</a> us about your requirements.</p>


</div>
<div class="extraInfo howtoAPI" style="float: right;">

<h2 class="title">API Methods</h2>
<ul>

<li>
<a href="#get_slideshow">get_slideshow</a>
</li>

<li>
<a href="#get_slideshows_by_tag">get_slideshows_by_tag</a>
</li>

<li><a href="#get_slideshows_by_group">get_slideshows_by_group</a>
</li>

<li><a href="#get_slideshows_by_user">get_slideshows_by_user</a>
</li>

<li><a href="#search_slideshows">search_slideshows</a>
</li>

<li><a href="#get_user_groups">get_user_groups</a>
</li>

<li><a href="#get_user_contacts">get_user_contacts</a>
</li>

<li><a href="#get_user_tags">get_user_tags</a>
</li>

<li><a href="#edit_slideshow">edit_slideshow</a>
</li>

<li><a href="#delete_slideshow">delete_slideshow</a>
</li>

<li><a href="#upload_slideshow">upload_slideshow</a>
</li>

</ul>

</div>

More Related Content

What's hot

An Introduction to OAuth2
An Introduction to OAuth2An Introduction to OAuth2
An Introduction to OAuth2Aaron Parecki
 
Aspnet 4 new features
Aspnet 4 new featuresAspnet 4 new features
Aspnet 4 new featuresErkan BALABAN
 
Blackhat Analytics - DarkScore test to printout
Blackhat Analytics - DarkScore test to printoutBlackhat Analytics - DarkScore test to printout
Blackhat Analytics - DarkScore test to printoutPhil Pearce
 
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015Alvaro Sanchez-Mariscal
 
Authentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructuresAuthentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructuresCorley S.r.l.
 
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020Matt Raible
 
Dart Power Tools
Dart Power ToolsDart Power Tools
Dart Power ToolsMatt Norris
 
TechDays 2013 Jari Kallonen: What's New WebForms 4.5
TechDays 2013 Jari Kallonen: What's New WebForms 4.5TechDays 2013 Jari Kallonen: What's New WebForms 4.5
TechDays 2013 Jari Kallonen: What's New WebForms 4.5Tieturi Oy
 
OAuth Hacks A gentle introduction to OAuth 2 and Apache Oltu
OAuth Hacks A gentle introduction to OAuth 2 and Apache OltuOAuth Hacks A gentle introduction to OAuth 2 and Apache Oltu
OAuth Hacks A gentle introduction to OAuth 2 and Apache OltuAntonio Sanso
 
Token Authentication for Java Applications
Token Authentication for Java ApplicationsToken Authentication for Java Applications
Token Authentication for Java ApplicationsStormpath
 
Single-Page-Application & REST security
Single-Page-Application & REST securitySingle-Page-Application & REST security
Single-Page-Application & REST securityIgor Bossenko
 
OAuth 2.0 – A standard is coming of age by Uwe Friedrichsen
OAuth 2.0 – A standard is coming of age by Uwe FriedrichsenOAuth 2.0 – A standard is coming of age by Uwe Friedrichsen
OAuth 2.0 – A standard is coming of age by Uwe FriedrichsenCodemotion
 
Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015Alvaro Sanchez-Mariscal
 
HTML5 - An Introduction
HTML5 - An IntroductionHTML5 - An Introduction
HTML5 - An IntroductionTimmy Kokke
 
The Current State of OAuth 2
The Current State of OAuth 2The Current State of OAuth 2
The Current State of OAuth 2Aaron Parecki
 

What's hot (18)

An Introduction to OAuth2
An Introduction to OAuth2An Introduction to OAuth2
An Introduction to OAuth2
 
Aspnet 4 new features
Aspnet 4 new featuresAspnet 4 new features
Aspnet 4 new features
 
başlık
başlıkbaşlık
başlık
 
Blackhat Analytics - DarkScore test to printout
Blackhat Analytics - DarkScore test to printoutBlackhat Analytics - DarkScore test to printout
Blackhat Analytics - DarkScore test to printout
 
Api Doc
Api DocApi Doc
Api Doc
 
Api Doc
Api DocApi Doc
Api Doc
 
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
 
Authentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructuresAuthentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructures
 
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020
What the Heck is OAuth and OIDC - Denver Developer Identity Workshop 2020
 
Dart Power Tools
Dart Power ToolsDart Power Tools
Dart Power Tools
 
TechDays 2013 Jari Kallonen: What's New WebForms 4.5
TechDays 2013 Jari Kallonen: What's New WebForms 4.5TechDays 2013 Jari Kallonen: What's New WebForms 4.5
TechDays 2013 Jari Kallonen: What's New WebForms 4.5
 
OAuth Hacks A gentle introduction to OAuth 2 and Apache Oltu
OAuth Hacks A gentle introduction to OAuth 2 and Apache OltuOAuth Hacks A gentle introduction to OAuth 2 and Apache Oltu
OAuth Hacks A gentle introduction to OAuth 2 and Apache Oltu
 
Token Authentication for Java Applications
Token Authentication for Java ApplicationsToken Authentication for Java Applications
Token Authentication for Java Applications
 
Single-Page-Application & REST security
Single-Page-Application & REST securitySingle-Page-Application & REST security
Single-Page-Application & REST security
 
OAuth 2.0 – A standard is coming of age by Uwe Friedrichsen
OAuth 2.0 – A standard is coming of age by Uwe FriedrichsenOAuth 2.0 – A standard is coming of age by Uwe Friedrichsen
OAuth 2.0 – A standard is coming of age by Uwe Friedrichsen
 
Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015
 
HTML5 - An Introduction
HTML5 - An IntroductionHTML5 - An Introduction
HTML5 - An Introduction
 
The Current State of OAuth 2
The Current State of OAuth 2The Current State of OAuth 2
The Current State of OAuth 2
 

Viewers also liked

SlideShare Team
SlideShare TeamSlideShare Team
SlideShare Teamloginhello
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSSRachel Andrew
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsShelly Sanchez Terrell
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaChris Lema
 

Viewers also liked (7)

Ufl Admission
Ufl AdmissionUfl Admission
Ufl Admission
 
SlideShare Team
SlideShare TeamSlideShare Team
SlideShare Team
 
Pic
PicPic
Pic
 
Pic
PicPic
Pic
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSS
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and Adolescents
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris Lema
 

Similar to Doc

The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2fishwarter
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2fishwarter
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2fishwarter
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2fishwarter
 
Webpages And Dynamic Content
Webpages And Dynamic ContentWebpages And Dynamic Content
Webpages And Dynamic Contentmaycourse
 
Create a web-app with Cgi Appplication
Create a web-app with Cgi AppplicationCreate a web-app with Cgi Appplication
Create a web-app with Cgi Appplicationolegmmiller
 
Struts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configurationStruts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configurationJavaEE Trainers
 
Developing Gadgets
Developing GadgetsDeveloping Gadgets
Developing GadgetsQuirk
 
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Alfresco Software
 
Google Analytics API
Google Analytics APIGoogle Analytics API
Google Analytics APIOmer Trajman
 
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015Phil Leggetter
 
Struts2
Struts2Struts2
Struts2yuvalb
 
Apache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-onApache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-onMatt Raible
 
关于 Html5 那点事
关于 Html5 那点事关于 Html5 那点事
关于 Html5 那点事Sofish Lin
 
Internet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian ThilmanyInternet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian ThilmanyChristian Thilmany
 
Automate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAutomate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAtlassian
 
Automate that
Automate thatAutomate that
Automate thatAtlassian
 

Similar to Doc (20)

The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
Webpages And Dynamic Content
Webpages And Dynamic ContentWebpages And Dynamic Content
Webpages And Dynamic Content
 
Grails and Dojo
Grails and DojoGrails and Dojo
Grails and Dojo
 
Create a web-app with Cgi Appplication
Create a web-app with Cgi AppplicationCreate a web-app with Cgi Appplication
Create a web-app with Cgi Appplication
 
Eu odeio OpenSocial
Eu odeio OpenSocialEu odeio OpenSocial
Eu odeio OpenSocial
 
Struts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configurationStruts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configuration
 
Developing Gadgets
Developing GadgetsDeveloping Gadgets
Developing Gadgets
 
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
 
Web Service Security
Web Service SecurityWeb Service Security
Web Service Security
 
Google Analytics API
Google Analytics APIGoogle Analytics API
Google Analytics API
 
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015
Why You Should be Using Web Components Right Now. And How. ForwardJS July 2015
 
Struts2
Struts2Struts2
Struts2
 
Apache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-onApache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-on
 
关于 Html5 那点事
关于 Html5 那点事关于 Html5 那点事
关于 Html5 那点事
 
Internet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian ThilmanyInternet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian Thilmany
 
Automate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAutomate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in Python
 
Automate that
Automate thatAutomate that
Automate that
 

Recently uploaded

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 

Recently uploaded (20)

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 

Doc

  • 1. <h1>SlideShare API » Documentation</h1> <div class="information" style="width: 530px;"> <h2 class="title">API Validation using the SlideShare API</h2> <p>All requests made using the SlideShare API must have the following parameters:</ p> <ul> <li>api_key: Set this to the API Key that SlideShare has provided for you.</li> <li>ts: Set this to the current time in Unix TimeStamp format, to the nearest second(<a class="blue_link_bold" target="_blank" href=http://en.wikipedia.org/wiki/ Unix_time>?</a>).</li> <li>hash: Set this to the SHA1 hash of the concatenation of the shared secret and the timestamp (ts). i.e. SHA1 (sharedsecret + timestamp). The order of the terms in the concatenation is important.</li> </ul> <h2 class="title">Authentication using the slideshare API</h2> <p>Requests that request private data from users, or that act on their behalf, must include the following parameters:</p> <ul> <li>username: set this to the username of the account whose data is being requested.</li> <li>password: set this to the password of the account whose data is being requested.</li> </ul> <h2 class="title">API Methods</h2> <div class="apiMethod" id="get_slideshow"> <!-- an API method starts here --> <p class="methodName">Get Slideshow Information</p> <ul> <li><strong>Request type:</strong> HTTP</li> <li><strong>Authorization:</strong> Optional</li> <li><strong>URL:</strong><a href="http://www.slideshare.net/api/2/get_slideshow"> http://www.slideshare.net/api/2/get_slideshow</a></li> </ul> <ul> <li><strong>Required parameters</strong></li> <li><strong>slideshow_id:</strong> id of the slideshow to be fetched.</li> <li><strong>slideshow_url: </strong>URL of the slideshow to be fetched. This is required if slideshow_id is not set. If both are set, slideshow_id takes precedence.</li> </ul> <ul> <li class="vspace"><strong>Optional parameters</strong></li>
  • 2. <li class="vspace"><strong>username:</strong> username of the requesting user</li> <li><strong>password:</strong> password of the requesting user</li> <li><strong>detailed:</strong> Whether or not to include optional information. 1 to include, 0 (default) for basic information.</li> </ul> <span class="vspace"><strong>Response XML Format:</strong> (Green text represents additional information provided by `detailed` parameter)</span> <pre class="samplecodeNormal vspace"> &lt;Slideshow&gt; &lt;ID&gt;{ slideshow id }&lt;/ID&gt; &lt;Title&gt;{ slideshow title }&lt;/Title&gt; &lt;Description&gt;{ slideshow description }&lt;/Description&gt; &lt;Status&gt;{ 0 if queued for conversion, 1 if converting, 2 if converted, 3 if conversion failed } &lt;/Status&gt; &lt;Username&gt;{ username }&lt;/Username&gt; &lt;URL&gt;{ web permalink }&lt;/URL&gt; &lt;ThumbnailURL&gt;{ thumbnail URL }&lt;/ThumbnailURL&gt; &lt;ThumbnailSmallURL&gt;{ URL of smaller thumbnail }&lt;/ThumbnailSmallURL&gt; &lt;Embed&gt;{ embed code }&lt;/Embed&gt; &lt;Created&gt;{ date slideshow created }&lt;/Created&gt; &lt;Language&gt;{ language, as specified by two-letter code }&lt;/Language&gt; &lt;Format&gt;ppt (or pdf, pps, odp, doc, pot, txt, rdf) &lt;/Format&gt; &lt;Download&gt;{ 1 if available to download, else 0 }&lt;/Download&gt; <pre class="samplecodeHighlighted"> &lt;Tags&gt; &lt;Tag Count="{ number of times tag has been used }" Owner="{ 1 if owner has used the tag, else 0 }"&gt;{ tag name } &lt;/Tag&gt; &lt;/Tags&gt; &lt;NumDownloads&gt;{ number of downloads }&lt;/NumDownloads&gt; &lt;NumViews&gt;{ number of views }&lt;/NumViews&gt; &lt;NumComments&gt;{ number of comments }&lt;/NumComments&gt; &lt;NumFavorites&gt;{ number of favorites }&lt;/NumFavorites&gt; &lt;NumSlides&gt;{ number of slides }&lt;/NumSlides&gt; &lt;RelatedSlideshows&gt; &lt;RelatedSlideshowID rank="{ rank, where 1 is highest}"&gt; { slideshow id } &lt;/RelatedSlideshowID&gt; &lt;/RelatedSlideshows&gt; &lt;PrivacyLevel&gt;{ 0, or 1 if private }&lt;/PrivacyLevel&gt; &lt;SecretURL&gt;{ 0, or 1 if secret URL is enabled }&lt;/SecretURL&gt; &lt;AllowEmbed&gt;{ 0, or 1 if embeds are allowed }&lt;/AllowEmbed&gt; &lt;ShareWithContacts&gt;{ 0, or 1 if set to private, but contacts can view slideshow } &lt;/ShareWithContacts&gt; &lt;/Slideshow&gt; </pre> </pre> </div><!-- an API method ends here --> <div class="apiMethod" id="get_slideshows_by_tag"> <p class="methodName">Get Slideshows By Tag</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li>
  • 3. <li><strong>Authorization : </strong>None</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_slideshows_by_tag">http://www.slideshare. net/api/2/get_slideshows_by_tag</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>tag : </strong> tag name</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>limit : </strong>specify number of items to return</li> <li><strong>offset : </strong>specify offset</li> <li><strong>detailed : </strong>Whether or not to include optional information. 1 to include, 0 (default) for basic information.</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;Tag&gt; &lt;Name&gt;{ Tag Name }&lt;/Name&gt; &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt; &lt;Slideshow&gt; { as in get_slideshow } &lt;/Slideshow&gt; ... &lt;/Tag&gt; </pre> </div> <div class="apiMethod" id="get_slideshows_by_group"> <p class="methodName">Get Slideshows By Group</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>None</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_slideshows_by_group">http://www.slideshar e.net/api/2/get_slideshows_by_group</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>group_name : </strong>Group name (as returned in QueryName element in get_user_groups method)</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>limit : </strong>specify number of items to return</li> <li><strong>offset : </strong>specify offset</li> <li><strong>detailed : </strong>Whether or not to include optional information. 1 to include, 0 (default) for basic information.</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal">
  • 4. &lt;Group&gt; &lt;Name&gt;{ Group Name }&lt;/Name&gt; &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt; &lt;Slideshow&gt; { as in get_slideshow } &lt;/Slideshow&gt; ... &lt;/Group&gt; </pre> </div> <div class="apiMethod" id="get_slideshows_by_user"> <p class="methodName">Get Slideshows By User</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>None</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_slideshows_by_user">http://www.slideshare .net/api/2/get_slideshows_by_user</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username_for : </strong>username of owner of slideshows</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> <li><strong>limit : </strong>specify number of items to return</li> <li><strong>offset : </strong>specify offset</li> <li><strong>detailed : </strong>Whether or not to include optional information. 1 to include, 0 (default) for basic information.</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;User&gt; &lt;Name&gt;{ username_for }&lt;/Name&gt; &lt;Count&gt;{ Number of Slideshows }&lt;/Count&gt; &lt;Slideshow&gt; { as in get_slideshow } &lt;/Slideshow&gt; ... &lt;/User&gt; </pre> </div> <div class="apiMethod" id="search_slideshows"> <p class="methodName">Slideshow Search</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>None</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/search_slideshows">http://www.slideshare.net/ api/2/search_slideshows</a></li>
  • 5. </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>q : </strong>the query string</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>page : </strong>The page number of the results (works in conjunction with items_per_page), default is 1</li> <li><strong>items_per_page : </strong>Number of results to return per page, default is 12</li> <li><strong>lang : </strong>Language of slideshows (default is English, 'en') ('**':All,'es':Spanish,'pt':Portuguese,'fr':French,'it':Italian,'nl':Dutch, 'de':German,'zh':Chinese,'ja':Japanese,'ko':Korean,'ro':Romanian,'!!':Other)</li> <li><strong>sort : </strong>Sort order (default is 'relevance') ('mostviewed','mostdownloaded','latest') </li> <li><strong>what : </strong>What type of search. If not set, text search is used. 'tag' is the other option.</li> <li><strong>download : </strong>Slideshows that are available to download; Set to '0' to do this, otherwise default is all slideshows.</li> <li><strong>fileformat : </strong>File format to search for. Default is "all". ('pdf':PDF,'ppt':PowerPoint,'odp':Open Office,'pps':PowerPoint Slideshow,'pot':PowerPoint template)</li> <li><strong>cc : </strong>Set to '1' to retrieve results under the Creative Commons license. Default is '0'</li> <li><strong>cc_adapt : </strong>Set to '1' for results under Creative Commons that allow adaption, modification. Default is '0'</li> <li><strong>detailed : </strong>Whether or not to include optional information. 1 to include, 0 (default) for basic information.</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;Slideshows&gt; &lt;Meta&gt; &lt;Query&gt;{ query }&lt;/Query&gt; &lt;ResultOffset&gt;{ the offset of this result (if pages were used)} &lt;/ResultOffset&gt; &lt;NumResults&gt;{ number of results returned }&lt;/NumResults&gt; &lt;TotalResults&gt;{ total number of results}&lt;/TotalResults&gt; &lt;/Meta&gt; &lt;Slideshow&gt; {as in get_slideshow} &lt;/Slideshow&gt; ... &lt;/Slideshows&gt; </pre> </div> <div class="apiMethod" id="get_user_groups"> <p class="methodName">Get User Groups</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Optional</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_user_groups">http://www.slideshare.net/ap
  • 6. i/2/get_user_groups</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username_for : </strong>username of user whose groups are being requested</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;Groups&gt; &lt;Group&gt; &lt;Name&gt;{ Group Name }&lt;/Name&gt; &lt;NumPosts&gt;{ Number of Posts }&lt;/Name&gt; &lt;NumSlideshows&gt;{ Number of Slideshows }&lt;/Name&gt; &lt;NumMembers&gt;{ Number of Members }&lt;/Name&gt; &lt;Created&gt;{ Created date }&lt;/Name&gt; &lt;QueryName&gt;{ Name used for querying (get_slideshows_by_group, etc) } &lt;/Name&gt; &lt;URL&gt;{ Group URL }&lt;/Name&gt; &lt;Group&gt; ... &lt;/Groups&gt; </pre> </div> <div class="apiMethod" id="get_user_contacts"> <p class="methodName">Get User Contacts</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Optional</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_user_contacts">http://www.slideshare.net/ api/2/get_user_contacts</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username_for : </strong>username of user whose Contacts are being requested</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;Contacts&gt; &lt;Contact&gt; &lt;Userame&gt;{ Username }&lt;/Name&gt; &lt;NumSlideshows&gt;{ Number of Slideshows }&lt;/Name&gt; &lt;NumComments&gt;{ Number of Comments }&lt;/Name&gt; &lt;Contact&gt; ...
  • 7. &lt;/Contacts&gt; </pre> </div> <div class="apiMethod" id="get_user_tags"> <p class="methodName">Get User Tags</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Required</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/get_user_tags">http://www.slideshare.net/api/ 2/get_user_tags</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;Tags&gt; &lt;Tag Count="{ Number of times tag used }"&gt;{ Tag name }&lt;/Tag&gt; ... &lt;/Tags&gt; </pre> </div> <div class="apiMethod" id="edit_slideshow"> <p class="methodName">Edit Existing Slideshow</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Required</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/edit_slideshow">http://www.slideshare.net/api /2/edit_slideshow</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> <li><strong>slideshow_id : </strong>slideshow ID</li> </ul> <ul> <li><strong>Optional parameters</strong></li> <li><strong>slideshow_title : </strong>text</li> <li><strong>slideshow_description : </strong>text</li> <li><strong>slideshow_tags : </strong>text</li> <li><strong>make_slideshow_private : </strong>Should be Y if you want to make the slideshow private. If this is not set, following tags will not be considered</li> <li><strong>generate_secret_url : </strong>Generate a secret URL for the slideshow. Requires make_slideshow_private to be Y</li> <li><strong>allow_embeds : </strong>Sets if other websites should be allowed to embed the slideshow. Requires make_slideshow_private to be Y</li>
  • 8. <li><strong>share_with_contacts : </strong>Sets if your contacts on SlideShare can view the slideshow. Requires make_slideshow_private to be Y</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;SlideShowEdited&gt; &lt;SlideShowID&gt;SlideShowID&lt;/SlideShowID&gt; &lt;/SlideShowEdited&gt; </pre> </div> <div class="apiMethod" id="delete_slideshow"> <p class="methodName">Delete Slideshow</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Required</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/delete_slideshow">http://www.slideshare.net/a pi/2/delete_slideshow</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> <li><strong>slideshow_id : </strong>slideshow ID</li> </ul> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;SlideShowDeleted&gt; &lt;SlideShowID&gt;SlideShowID&lt;/SlideShowID&gt; &lt;/SlideShowDeleted&gt; </pre> </div> <div class="apiMethod" id="upload_slideshow"> <p class="methodName">Upload Slideshow</p> <ul> <li><strong>Request Type : </strong>HTTP GET</li> <li><strong>Authorization : </strong>Required</li> <li><strong>URL : </strong><a href="http://www.slideshare.net/api/2/upload_slideshow">http://www.slideshare.net/a pi/2/upload_slideshow</a></li> </ul> <ul> <li><strong>Required parameters </strong></li> <li><strong>username : </strong>username of the requesting user</li> <li><strong>password : </strong>password of the requesting user</li> <li><strong>slideshow_title : </strong>slideshow's title</li> <li><strong>slideshow_srcfile : </strong>slideshow file</li> </ul> <ul> <li><strong>Optional parameters</strong></li>
  • 9. <li><strong>slideshow_description : </strong>description</li> <li><strong>slideshow_tags : </strong>tags should be space separated, use quotes for multiple word tags</li> <li><strong>make_src_public : </strong>Y if you want users to be able to download the ppt file, N otherwise. Default is Y</li> </ul> <ul> <li><strong>Privacy settings (optional)</strong></li> <li><strong>make_slideshow_private : </strong>Should be Y if you want to make the slideshow private. If this is not set, following tags will not be considered</li> <li><strong>generate_secret_url : </strong>Generate a secret URL for the slideshow. Requires make_slideshow_private to be Y</li> <li><strong>allow_embeds : </strong>Sets if other websites should be allowed to embed the slideshow. Requires make_slideshow_private to be Y</li> <li><strong>share_with_contacts : </strong>Sets if your contacts on SlideShare can view the slideshow. Requires make_slideshow_private to be Y</li> </ul> <p>The document will upload into the account of the user specified by (username / password). The user associated with the API key need not be the same as the user into who's account the slideshow gets uploaded. So, for example, a bulk uploader would include the api_key (and hash) associated with the API account, and the username and password associated with the account being uploaded to.</p> <strong>Response XML Format</strong> <pre class="samplecodeNormal"> &lt;SlideShowUploaded&gt; &lt;SlideShowID&gt;{slideshow id goes here}&lt;/SlideShowID&gt; &lt;/SlideShowUploaded&gt; </pre> <p>The slideshare ID will be necessary for retrieving the slideshow embed code, once the slideshow has been converted into flash.</p> </div> <p class="title">Notes about using API</p> <p>In particular, do NOT write code that calls our API every time you get a web request. Cache the information so that you can serve it as needed to your users. API calls are limited to 1000 per day per API_Key. Calls that exceed this limit will receive an error message in the following format.</p> <pre class="samplecodeNormal"> &lt;SlideShareServiceError&gt; &lt;Message id=99&gt;Account Exceeded Daily Limit&lt;/Message&gt; &lt;/SlideShareServiceError&gt; </pre> <p>In case your application needs to send more than 1000 API requests per day, <a href="mailto:api@slideshare.com">e-mail</a> us about your requirements.</p> </div> <div class="extraInfo howtoAPI" style="float: right;"> <h2 class="title">API Methods</h2>
  • 10. <ul> <li> <a href="#get_slideshow">get_slideshow</a> </li> <li> <a href="#get_slideshows_by_tag">get_slideshows_by_tag</a> </li> <li><a href="#get_slideshows_by_group">get_slideshows_by_group</a> </li> <li><a href="#get_slideshows_by_user">get_slideshows_by_user</a> </li> <li><a href="#search_slideshows">search_slideshows</a> </li> <li><a href="#get_user_groups">get_user_groups</a> </li> <li><a href="#get_user_contacts">get_user_contacts</a> </li> <li><a href="#get_user_tags">get_user_tags</a> </li> <li><a href="#edit_slideshow">edit_slideshow</a> </li> <li><a href="#delete_slideshow">delete_slideshow</a> </li> <li><a href="#upload_slideshow">upload_slideshow</a> </li> </ul> </div>