SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
Slideshare Free API – Version 1.0


Initial configuration
In order to use the slideshare API, you will need to first create an account on Slideshare.
Once you do, visit the following url (http://www.slideshare.net/developers/applyforapi)
and fill out a form. At this time, you will need to indicate a point of contact (name and
email address). If your account is approved, we will provide you with

1) An API Key (needed use of the API)
2) A shared secret (a string used to sign your API calls)

API Validation using the slideshare API
All requests made using the SlideShare API must have the following parameters
    1) api_key: set this value to the API Key that SlideShare has provided for you.
    2) ts: set this value to the current time in Unix TimeStamp format, to the nearest
       second (http://en.wikipedia.org/wiki/Unix_time) .
    3) hash: set this value to the SHA1 hash of the string created by concatenation of
       the shared secret and the timestamp(i.e ts)

Authentication using the slideshare API
Requests that request private data from users, or that act on their behalf, must include the
following parameters.
    1) username: set this to the username of the account whose data is being requested
    2) password: set this to the password of the account whose data is being requested

Note: these requests are marked with the phrase “auth needed” in the documentation Not
all the requests require authentication.

Uploading Slideshows using the slideshare API (auth needed)
Content can be uploaded to the slideshare API using a simple HTTP POST to the
following URL.

http://www.slideshare.net/api/1/upload_slideshow

with the following required parameters:
api_key
ts
hash
username
password
slideshow_title
slideshow_srcfile

and the following optional parameters:
slideshow_description
slideshow_tags (tags should be space separated, use quotes for multiple
word tags)
make_src_public (should be Y if you want users to be able to download
the ppt file later, N otherwise. Default is Y)

The document will upload into the account of the user specified by (username /
password). 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.

You will receive back an xml document that looks like the following
<SlideShowUploaded>
<SlideShowID>{slideshow id goes here}</SlideShowID>
</SlideShowUploaded>

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

If there was an error of some kind, you will receive back an xml document that looks like
the following
<SlideShareServiceError>
<Message id={various numbers go here}>{various messages go
here}</Message>
</SlideShareServiceError>

The message / ID in a SlideShareService error will be one of the following:
1   Failed API validation
2   Failed User authentication
3   Missing title
4   Missing file for upload
5   Blank title
6   Slideshow file isn't a source object
7   Invalid extension
8   File size too big

Retrieving Embed Code for a Slideshow using the SlideShare API
After a file has been uploaded to SlideShare, it will be converted into a series of flash
files suitable for streaming over the internet (this usually takes 1-10 minutes, depending
on the size of the file and how many other files are in the queue). The files will be hosted
by slideshare: clients embed them into their own html using an “embed code”, similar to
the embed codes used on sites like youtube for embedding videos.

Content can be retrieved from the slideshare API using a simple HTTP POST to the
following url:
http://www.slideshare.net/api/1/get_slideshow

with the following parameters:
api_key
ts
hash
slideshow_id

You will receive back an xml document that looks like the following
<Slideshow>
<Status>0, 1, 2, or 3</Status>
<StatusDescription>{queued, processing, ready, or
failed}</StatusDescription>
<Title>{title goes here}</Title>
<Description>{description goes here}</Description>
<Tags>{all tags go here, separated by spaces. Multiple word tags are
surrounded by double quotes}</Tags>
<EmbedCode>{embed code goes here}</EmbedCode>
<Thumbnail>{url for thumbnail goes here}</Thumbnail>
<Permalink>{Permanent link for the slideshow}</Permalink>
<Views>{Number of views for the slideshow}</Views>
</Slideshow>

Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed). EmbedCode and
Thumbnail will ONLY be provided if status is 2(ready).

If there was an error of some kind, you will receive back an xml document that looks like
the following
<SlideShareServiceError>
<Message id={various numbers go here}>{various messages go here, depending on the
error}</Message>
</SlideShareServiceError>

The message in a SlideShareService error will be one of the following:
1 Failed API validation
9 SlideShow Not Found

Retrieving SlideShows for a given user
Content can be retrieved from the slideshare API using an HTTP GET to the following
url:
http://www.slideshare.net/api/1/get_slideshow_by_user

with the following parameters:
api_key
ts
hash
username_for

Optional parameters (Useful for pagination)
Offset : The offset from which we retrieve slideshows
Limit : How many slideshows to retrieve

You will receive back an xml document that looks like the following
<User>{Name goes here}</User>
<count>{Total number of slideshows for given user}</count>

<Slideshow>
<EmbedCode>{embed code goes here}</EmbedCode>
<Thumbnail>{url for thumbnail goes here}</Thumbnail>
<Title>{title goes here}</Title>
<Description>{description goes here}</Description>
<Status>0, 1, 2, or 3</Status>
<StatusDescription>{queued, processing, ready, or
failed}</StatusDescription>
<Permalink>{Permanent link for the slideshow}</Permalink>
<Views>{Number of views for the slideshow}</Views>
</Slideshow>
{repeat SlideShow element as many times as is necessary}
</User>
Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed).

If there was an error of some kind, you will receive back an xml document that looks like
the following
<SlideShareServiceError>
<Message id={various numbers go here}>{various messages go here}</Message>
</SlideShareServiceError>

The message in a SlideShareService error will be one of the following:
1 Failed API validation
10 User Not Found

Retrieving SlideShows for a given tag
Content can be retrieved from the slideshare API using a simple HTTP GET to the
following url:

http://www.slideshare.net/api/1/get_slideshow_by_tag

with the following parameters:
api_key
ts
hash
tag

Optional parameters (Useful for pagination)
Offset : The offset from which we retrieve slideshows
Limit : How many slideshows to retrieve

You will receive back an xml document that looks like the following
<Tag>
<name>{tag}</name>
<count>{Total number of slideshows for given tag}</count>

<Slideshow>
<EmbedCode>{embed code goes here}</EmbedCode>
<Thumbnail>{url for thumbnail goes here}</Thumbnail>
<Title>{title goes here}</Title>
<Description>{description goes here}</Description>
<Status>0, 1, 2, or 3</Status>
<StatusDescription>{queued, processing, ready, or
failed}</StatusDescription>
<Permalink>{Permanent link for the slideshow}</Permalink>
<Views>{Number of views for the slideshow}</Views>
</Slideshow>
{repeat SlideShow element as many times as is necessary}
</Tag>
Status for each slideshow can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed).

If there was an error of some kind, you will receive back an xml document that looks like
the following
<SlideShareServiceError>
<Message id={various numbers go here}>{various messages go here}</Message>
</SlideShareServiceError>

The message in a SlideShareService error will be one of the following:
1 Failed API validation

Retrieving SlideShows for a given group
Content can be retrieved from the slideshare API using a simple HTTP GET to the
following url:
http://www.slideshare.net/api/1/get_slideshows_from_group

with the following parameters:
api_key
ts
hash
group_name

Optional parameters (Useful for pagination)
Offset : The offset from which we retrieve slideshows
Limit : How many slideshows to retrieve

You will receive back an xml document that looks like the following
<Group>{name goes here}</Group>
<Slideshow>
<EmbedCode>{embed code goes here}</EmbedCode>
<Thumbnail>{url for thumbnail goes here}</Thumbnail>
<Title>{title goes here}</Title>
<Description>{description goes here}</Description>
<Status>0, 1, 2, or 3</Status>
<StatusDescription>{queued, processing, ready, or
failed}</StatusDescription>
<Permalink>{Permanent link for the slideshow}</Permalink>
<Views>{Number of views for the slideshow}</Views>
</Slideshow>
{repeat SlideShow element as many times as is necessary}
</Group>

Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed).

If there was an error of some kind, you will receive back an xml document that looks like
the following
<SlideShareServiceError>
<Message id={various numbers go here}>{various messages go here}</Message>
</SlideShareServiceError>
The message in a SlideShareService error will be one of the following:
1 Failed API validation
11 Group Not Found




Complete List of Error Codes
1 Failed API validation
2 Failed User authentication
3 Missing title
4 Missing file for upload
5 Blank title
6 Slideshow file isn't a source object
7 Invalid extension
8 File size too big
9 SlideShow Not Found
10 User Not Found
11 Group Not Found
12 No Tag Provided
13 Tag Not Found
99 Account Exceeded Daily Limit
100 Your Account has been blocked

Notes about using API
Your use of the API is at the discretion of SlideShare, and is restricted to non-commercial
use. For full details, see the API terms of service
(http://www.slideshare.net/developers/tos).

It is recommended that you join the SlideShare API mailing list at
(http://groups.google.com/group/slideshare-developers)
So that you can interact with other API users and get regular updates about the
SlideShare API.

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.

<SlideShareServiceError>
<Message id=”99”>Account Exceeded Daily Limit</Message>
</SlideShareServiceError>

Weitere ähnliche Inhalte

Was ist angesagt?

Developing an intranet on office 365
Developing an intranet on office 365Developing an intranet on office 365
Developing an intranet on office 365Eric Shupps
 
Understanding JSP -Servlets
Understanding JSP -ServletsUnderstanding JSP -Servlets
Understanding JSP -ServletsGagandeep Singh
 
Making Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph RuepprichMaking Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph RuepprichEnkitec
 
Windsor AWS UG Deep dive IAM 2 - no json101
Windsor AWS UG   Deep dive IAM 2 - no json101Windsor AWS UG   Deep dive IAM 2 - no json101
Windsor AWS UG Deep dive IAM 2 - no json101Goran Karmisevic
 
.NET Core, ASP.NET Core Course, Session 18
 .NET Core, ASP.NET Core Course, Session 18 .NET Core, ASP.NET Core Course, Session 18
.NET Core, ASP.NET Core Course, Session 18aminmesbahi
 
Oauth2 and OWSM OAuth2 support
Oauth2 and OWSM OAuth2 supportOauth2 and OWSM OAuth2 support
Oauth2 and OWSM OAuth2 supportGaurav Sharma
 
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012Amazon Web Services
 
.NET Core, ASP.NET Core Course, Session 19
 .NET Core, ASP.NET Core Course, Session 19 .NET Core, ASP.NET Core Course, Session 19
.NET Core, ASP.NET Core Course, Session 19aminmesbahi
 
SFDC Inbound Integrations
SFDC Inbound IntegrationsSFDC Inbound Integrations
SFDC Inbound IntegrationsSujit Kumar
 
03. sql and other injection module v17
03. sql and other injection module v1703. sql and other injection module v17
03. sql and other injection module v17Eoin Keary
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state managementpriya Nithya
 
Flash And The City 2010
Flash And The City 2010Flash And The City 2010
Flash And The City 2010Steven Peeters
 
.NET Core, ASP.NET Core Course, Session 11
.NET Core, ASP.NET Core Course, Session 11.NET Core, ASP.NET Core Course, Session 11
.NET Core, ASP.NET Core Course, Session 11aminmesbahi
 
.NET Core, ASP.NET Core Course, Session 7
.NET Core, ASP.NET Core Course, Session 7.NET Core, ASP.NET Core Course, Session 7
.NET Core, ASP.NET Core Course, Session 7aminmesbahi
 
Aws meetup systems_manager
Aws meetup systems_managerAws meetup systems_manager
Aws meetup systems_managerAdam Book
 

Was ist angesagt? (20)

Developing an intranet on office 365
Developing an intranet on office 365Developing an intranet on office 365
Developing an intranet on office 365
 
Understanding JSP -Servlets
Understanding JSP -ServletsUnderstanding JSP -Servlets
Understanding JSP -Servlets
 
Making Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph RuepprichMaking Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph Ruepprich
 
Windsor AWS UG Deep dive IAM 2 - no json101
Windsor AWS UG   Deep dive IAM 2 - no json101Windsor AWS UG   Deep dive IAM 2 - no json101
Windsor AWS UG Deep dive IAM 2 - no json101
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
.NET Core, ASP.NET Core Course, Session 18
 .NET Core, ASP.NET Core Course, Session 18 .NET Core, ASP.NET Core Course, Session 18
.NET Core, ASP.NET Core Course, Session 18
 
Oauth2 and OWSM OAuth2 support
Oauth2 and OWSM OAuth2 supportOauth2 and OWSM OAuth2 support
Oauth2 and OWSM OAuth2 support
 
Asp.net.
Asp.net.Asp.net.
Asp.net.
 
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
 
.NET Core, ASP.NET Core Course, Session 19
 .NET Core, ASP.NET Core Course, Session 19 .NET Core, ASP.NET Core Course, Session 19
.NET Core, ASP.NET Core Course, Session 19
 
SFDC Inbound Integrations
SFDC Inbound IntegrationsSFDC Inbound Integrations
SFDC Inbound Integrations
 
Ch3 server controls
Ch3 server controlsCh3 server controls
Ch3 server controls
 
03. sql and other injection module v17
03. sql and other injection module v1703. sql and other injection module v17
03. sql and other injection module v17
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
 
Sql Injection Myths and Fallacies
Sql Injection Myths and FallaciesSql Injection Myths and Fallacies
Sql Injection Myths and Fallacies
 
Flash And The City 2010
Flash And The City 2010Flash And The City 2010
Flash And The City 2010
 
.NET Core, ASP.NET Core Course, Session 11
.NET Core, ASP.NET Core Course, Session 11.NET Core, ASP.NET Core Course, Session 11
.NET Core, ASP.NET Core Course, Session 11
 
.NET Core, ASP.NET Core Course, Session 7
.NET Core, ASP.NET Core Course, Session 7.NET Core, ASP.NET Core Course, Session 7
.NET Core, ASP.NET Core Course, Session 7
 
Aws meetup systems_manager
Aws meetup systems_managerAws meetup systems_manager
Aws meetup systems_manager
 
DataFX - JavaOne 2013
DataFX - JavaOne 2013DataFX - JavaOne 2013
DataFX - JavaOne 2013
 

Andere mochten auch

Superadas
SuperadasSuperadas
Superadasavs
 
Active Galactic Nuclei
Active Galactic NucleiActive Galactic Nuclei
Active Galactic Nucleiguest2ff6d8
 
Fundraising in Silicon Valley
Fundraising in Silicon ValleyFundraising in Silicon Valley
Fundraising in Silicon ValleyBess Ho
 
Diadasantantoni 120109133831-phpapp02
Diadasantantoni 120109133831-phpapp02Diadasantantoni 120109133831-phpapp02
Diadasantantoni 120109133831-phpapp02LauraGR
 
迷雾中奔跑-互联网产品开发思考
迷雾中奔跑-互联网产品开发思考迷雾中奔跑-互联网产品开发思考
迷雾中奔跑-互联网产品开发思考Qingji Chen
 
Presentaties Vormgeven en Uitvoeren
Presentaties Vormgeven en UitvoerenPresentaties Vormgeven en Uitvoeren
Presentaties Vormgeven en UitvoerenFabrice Mous
 
Ovetto X Students
Ovetto X StudentsOvetto X Students
Ovetto X Studentsguest8042e6
 
Klokkijken Met Sarie
Klokkijken Met  SarieKlokkijken Met  Sarie
Klokkijken Met Sarieireshadse
 
2008 Feb To April
2008 Feb To April2008 Feb To April
2008 Feb To AprilEdandDottie
 
RSS and Reading Blogs
RSS and Reading BlogsRSS and Reading Blogs
RSS and Reading BlogsLTI at LSE
 
Vectors Scalars 1
Vectors Scalars 1Vectors Scalars 1
Vectors Scalars 1zglazenburg
 
4.1.08 Pascals Triangle2
4.1.08   Pascals Triangle24.1.08   Pascals Triangle2
4.1.08 Pascals Triangle2chrismac47
 

Andere mochten auch (20)

Superadas
SuperadasSuperadas
Superadas
 
Active Galactic Nuclei
Active Galactic NucleiActive Galactic Nuclei
Active Galactic Nuclei
 
Fundraising in Silicon Valley
Fundraising in Silicon ValleyFundraising in Silicon Valley
Fundraising in Silicon Valley
 
Reglamento 2016
Reglamento 2016Reglamento 2016
Reglamento 2016
 
Diadasantantoni 120109133831-phpapp02
Diadasantantoni 120109133831-phpapp02Diadasantantoni 120109133831-phpapp02
Diadasantantoni 120109133831-phpapp02
 
迷雾中奔跑-互联网产品开发思考
迷雾中奔跑-互联网产品开发思考迷雾中奔跑-互联网产品开发思考
迷雾中奔跑-互联网产品开发思考
 
Presentaties Vormgeven en Uitvoeren
Presentaties Vormgeven en UitvoerenPresentaties Vormgeven en Uitvoeren
Presentaties Vormgeven en Uitvoeren
 
Ovetto X Students
Ovetto X StudentsOvetto X Students
Ovetto X Students
 
Klokkijken Met Sarie
Klokkijken Met  SarieKlokkijken Met  Sarie
Klokkijken Met Sarie
 
2008 Feb To April
2008 Feb To April2008 Feb To April
2008 Feb To April
 
Seven Life Lessons
Seven Life LessonsSeven Life Lessons
Seven Life Lessons
 
Chemistry Item#5
Chemistry Item#5Chemistry Item#5
Chemistry Item#5
 
Netway methodology
Netway methodologyNetway methodology
Netway methodology
 
RSS and Reading Blogs
RSS and Reading BlogsRSS and Reading Blogs
RSS and Reading Blogs
 
SYSADMIN TNG
SYSADMIN TNGSYSADMIN TNG
SYSADMIN TNG
 
Nieuwjaarsgroetjes
NieuwjaarsgroetjesNieuwjaarsgroetjes
Nieuwjaarsgroetjes
 
Gc Fid Marte
Gc Fid MarteGc Fid Marte
Gc Fid Marte
 
Vectors Scalars 1
Vectors Scalars 1Vectors Scalars 1
Vectors Scalars 1
 
4.1.08 Pascals Triangle2
4.1.08   Pascals Triangle24.1.08   Pascals Triangle2
4.1.08 Pascals Triangle2
 
I-9 Compliance
I-9 ComplianceI-9 Compliance
I-9 Compliance
 

Ähnlich wie Api Doc

Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)Mindfire Solutions
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3Gopi A
 
Active server pages
Active server pagesActive server pages
Active server pagesmcatahir947
 
When dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniquesWhen dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniquesWim Godden
 
Wordcamp Toronto Presentation
Wordcamp Toronto PresentationWordcamp Toronto Presentation
Wordcamp Toronto PresentationRoy Sivan
 
331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheetstephen972973
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocratJonathan Linowes
 
AEM Sightly Deep Dive
AEM Sightly Deep DiveAEM Sightly Deep Dive
AEM Sightly Deep DiveGabriel Walt
 
Play Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and ScalaPlay Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and ScalaYevgeniy Brikman
 
Code igniter - A brief introduction
Code igniter - A brief introductionCode igniter - A brief introduction
Code igniter - A brief introductionCommit University
 
Extending Oracle SSO
Extending Oracle SSOExtending Oracle SSO
Extending Oracle SSOkurtvm
 
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIsDesigning CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIsNeil Crookes
 

Ähnlich wie Api Doc (20)

Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
 
Doc
DocDoc
Doc
 
Doc
DocDoc
Doc
 
Active server pages
Active server pagesActive server pages
Active server pages
 
Sessions n cookies
Sessions n cookiesSessions n cookies
Sessions n cookies
 
When dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniquesWhen dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniques
 
Wordcamp Toronto Presentation
Wordcamp Toronto PresentationWordcamp Toronto Presentation
Wordcamp Toronto Presentation
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat
 
AEM Sightly Deep Dive
AEM Sightly Deep DiveAEM Sightly Deep Dive
AEM Sightly Deep Dive
 
Site optimization
Site optimizationSite optimization
Site optimization
 
Play Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and ScalaPlay Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and Scala
 
4.4 PHP Session
4.4 PHP Session4.4 PHP Session
4.4 PHP Session
 
Gears User Guide
Gears User GuideGears User Guide
Gears User Guide
 
Basics Of Servlet
Basics Of ServletBasics Of Servlet
Basics Of Servlet
 
Code igniter - A brief introduction
Code igniter - A brief introductionCode igniter - A brief introduction
Code igniter - A brief introduction
 
Extending Oracle SSO
Extending Oracle SSOExtending Oracle SSO
Extending Oracle SSO
 
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIsDesigning CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIs
 

Kürzlich hochgeladen

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Api Doc

  • 1. Slideshare Free API – Version 1.0 Initial configuration In order to use the slideshare API, you will need to first create an account on Slideshare. Once you do, visit the following url (http://www.slideshare.net/developers/applyforapi) and fill out a form. At this time, you will need to indicate a point of contact (name and email address). If your account is approved, we will provide you with 1) An API Key (needed use of the API) 2) A shared secret (a string used to sign your API calls) API Validation using the slideshare API All requests made using the SlideShare API must have the following parameters 1) api_key: set this value to the API Key that SlideShare has provided for you. 2) ts: set this value to the current time in Unix TimeStamp format, to the nearest second (http://en.wikipedia.org/wiki/Unix_time) . 3) hash: set this value to the SHA1 hash of the string created by concatenation of the shared secret and the timestamp(i.e ts) Authentication using the slideshare API Requests that request private data from users, or that act on their behalf, must include the following parameters. 1) username: set this to the username of the account whose data is being requested 2) password: set this to the password of the account whose data is being requested Note: these requests are marked with the phrase “auth needed” in the documentation Not all the requests require authentication. Uploading Slideshows using the slideshare API (auth needed) Content can be uploaded to the slideshare API using a simple HTTP POST to the following URL. http://www.slideshare.net/api/1/upload_slideshow with the following required parameters: api_key ts hash username password slideshow_title slideshow_srcfile and the following optional parameters: slideshow_description slideshow_tags (tags should be space separated, use quotes for multiple word tags)
  • 2. make_src_public (should be Y if you want users to be able to download the ppt file later, N otherwise. Default is Y) The document will upload into the account of the user specified by (username / password). 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. You will receive back an xml document that looks like the following <SlideShowUploaded> <SlideShowID>{slideshow id goes here}</SlideShowID> </SlideShowUploaded> The slideshare ID will be necessary for retrieving the slideshow embed code, once the slideshow has been converted into flash. If there was an error of some kind, you will receive back an xml document that looks like the following <SlideShareServiceError> <Message id={various numbers go here}>{various messages go here}</Message> </SlideShareServiceError> The message / ID in a SlideShareService error will be one of the following: 1 Failed API validation 2 Failed User authentication 3 Missing title 4 Missing file for upload 5 Blank title 6 Slideshow file isn't a source object 7 Invalid extension 8 File size too big Retrieving Embed Code for a Slideshow using the SlideShare API After a file has been uploaded to SlideShare, it will be converted into a series of flash files suitable for streaming over the internet (this usually takes 1-10 minutes, depending on the size of the file and how many other files are in the queue). The files will be hosted by slideshare: clients embed them into their own html using an “embed code”, similar to the embed codes used on sites like youtube for embedding videos. Content can be retrieved from the slideshare API using a simple HTTP POST to the following url: http://www.slideshare.net/api/1/get_slideshow with the following parameters: api_key ts hash slideshow_id You will receive back an xml document that looks like the following
  • 3. <Slideshow> <Status>0, 1, 2, or 3</Status> <StatusDescription>{queued, processing, ready, or failed}</StatusDescription> <Title>{title goes here}</Title> <Description>{description goes here}</Description> <Tags>{all tags go here, separated by spaces. Multiple word tags are surrounded by double quotes}</Tags> <EmbedCode>{embed code goes here}</EmbedCode> <Thumbnail>{url for thumbnail goes here}</Thumbnail> <Permalink>{Permanent link for the slideshow}</Permalink> <Views>{Number of views for the slideshow}</Views> </Slideshow> Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed). EmbedCode and Thumbnail will ONLY be provided if status is 2(ready). If there was an error of some kind, you will receive back an xml document that looks like the following <SlideShareServiceError> <Message id={various numbers go here}>{various messages go here, depending on the error}</Message> </SlideShareServiceError> The message in a SlideShareService error will be one of the following: 1 Failed API validation 9 SlideShow Not Found Retrieving SlideShows for a given user Content can be retrieved from the slideshare API using an HTTP GET to the following url: http://www.slideshare.net/api/1/get_slideshow_by_user with the following parameters: api_key ts hash username_for Optional parameters (Useful for pagination) Offset : The offset from which we retrieve slideshows Limit : How many slideshows to retrieve You will receive back an xml document that looks like the following <User>{Name goes here}</User> <count>{Total number of slideshows for given user}</count> <Slideshow> <EmbedCode>{embed code goes here}</EmbedCode> <Thumbnail>{url for thumbnail goes here}</Thumbnail> <Title>{title goes here}</Title> <Description>{description goes here}</Description> <Status>0, 1, 2, or 3</Status>
  • 4. <StatusDescription>{queued, processing, ready, or failed}</StatusDescription> <Permalink>{Permanent link for the slideshow}</Permalink> <Views>{Number of views for the slideshow}</Views> </Slideshow> {repeat SlideShow element as many times as is necessary} </User> Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed). If there was an error of some kind, you will receive back an xml document that looks like the following <SlideShareServiceError> <Message id={various numbers go here}>{various messages go here}</Message> </SlideShareServiceError> The message in a SlideShareService error will be one of the following: 1 Failed API validation 10 User Not Found Retrieving SlideShows for a given tag Content can be retrieved from the slideshare API using a simple HTTP GET to the following url: http://www.slideshare.net/api/1/get_slideshow_by_tag with the following parameters: api_key ts hash tag Optional parameters (Useful for pagination) Offset : The offset from which we retrieve slideshows Limit : How many slideshows to retrieve You will receive back an xml document that looks like the following <Tag> <name>{tag}</name> <count>{Total number of slideshows for given tag}</count> <Slideshow> <EmbedCode>{embed code goes here}</EmbedCode> <Thumbnail>{url for thumbnail goes here}</Thumbnail> <Title>{title goes here}</Title> <Description>{description goes here}</Description> <Status>0, 1, 2, or 3</Status> <StatusDescription>{queued, processing, ready, or failed}</StatusDescription> <Permalink>{Permanent link for the slideshow}</Permalink> <Views>{Number of views for the slideshow}</Views> </Slideshow> {repeat SlideShow element as many times as is necessary} </Tag>
  • 5. Status for each slideshow can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed). If there was an error of some kind, you will receive back an xml document that looks like the following <SlideShareServiceError> <Message id={various numbers go here}>{various messages go here}</Message> </SlideShareServiceError> The message in a SlideShareService error will be one of the following: 1 Failed API validation Retrieving SlideShows for a given group Content can be retrieved from the slideshare API using a simple HTTP GET to the following url: http://www.slideshare.net/api/1/get_slideshows_from_group with the following parameters: api_key ts hash group_name Optional parameters (Useful for pagination) Offset : The offset from which we retrieve slideshows Limit : How many slideshows to retrieve You will receive back an xml document that looks like the following <Group>{name goes here}</Group> <Slideshow> <EmbedCode>{embed code goes here}</EmbedCode> <Thumbnail>{url for thumbnail goes here}</Thumbnail> <Title>{title goes here}</Title> <Description>{description goes here}</Description> <Status>0, 1, 2, or 3</Status> <StatusDescription>{queued, processing, ready, or failed}</StatusDescription> <Permalink>{Permanent link for the slideshow}</Permalink> <Views>{Number of views for the slideshow}</Views> </Slideshow> {repeat SlideShow element as many times as is necessary} </Group> Status can be 0 (queued), 1 (processing), 2 (ready), or 3 (failed). If there was an error of some kind, you will receive back an xml document that looks like the following <SlideShareServiceError> <Message id={various numbers go here}>{various messages go here}</Message> </SlideShareServiceError>
  • 6. The message in a SlideShareService error will be one of the following: 1 Failed API validation 11 Group Not Found Complete List of Error Codes 1 Failed API validation 2 Failed User authentication 3 Missing title 4 Missing file for upload 5 Blank title 6 Slideshow file isn't a source object 7 Invalid extension 8 File size too big 9 SlideShow Not Found 10 User Not Found 11 Group Not Found 12 No Tag Provided 13 Tag Not Found 99 Account Exceeded Daily Limit 100 Your Account has been blocked Notes about using API Your use of the API is at the discretion of SlideShare, and is restricted to non-commercial use. For full details, see the API terms of service (http://www.slideshare.net/developers/tos). It is recommended that you join the SlideShare API mailing list at (http://groups.google.com/group/slideshare-developers) So that you can interact with other API users and get regular updates about the SlideShare API. 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. <SlideShareServiceError> <Message id=”99”>Account Exceeded Daily Limit</Message> </SlideShareServiceError>