Skip to main content

Slideshare API client

Project description

Introduction
=============

Lean and complete SlideShare_ API Implementation.

Usage
-----

>>> import slideshare
>>> API_KEY = 'ABC' #You have to provide your own valid key here
>>> SHARED_SECRET = 'DEFG' #You have to provide your own valid secret here
>>> api = slideshare.SlideshareAPI(API_KEY,SHARED_SECRET)
>>> help(slideshare.SlideshareAPI)
>>> sl_id = '21834196'
>>> api.get_slideshow(slideshow_id=sl_id)

For more examples please refer to the tests_


Methods
--------

- add_favorite
- check_favorite
- delete_slideshow
- edit_slideshow
- get_slideshow
- get_slideshow_by_group (untested)
- get_slideshows_by_tag
- get_slideshows_by_user
- get_user_campaign_leads (untested)
- get_user_campaigns
- get_user_contacts
- get_user_favorites
- get_user_groups (raises HTTPError: HTTP Error 500: Internal Server Error)
- get_user_leads
- get_user_tags
- search_slideshows
- upload_slideshow


Testing
--------

You need to create a file secret.py which has the content

::

# DO NOT check these into git
API_KEY = 'your api key'
SHARED_SECRET = 'your shared secret'
USERNAME = 'your username'
PASSWORD = 'your password'

You have to fill in the values of your slideshare account. Then you can
run the tests with

::

python setup.py test

Some tests assume a slideshow_id you have to be able to edit or delete,
you will have to change these values otherwise the tests will fail.

Links
-----

- Code repository: https://github.com/cleder/slideshare
- Report bugs at: https://github.com/cleder/slideshare/issues
- Questions and comments to: http://groups.google.com/group/slideshare-developers


.. _tests: https://github.com/cleder/slideshare/blob/master/slideshare/test_main.py
.. _SlideShare: http://www.slideshare.net/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slideshare-0.1dev.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file slideshare-0.1dev.tar.gz.

File metadata

  • Download URL: slideshare-0.1dev.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slideshare-0.1dev.tar.gz
Algorithm Hash digest
SHA256 76ee423e6d3f979ab221277eef5b4e87889ea0b219e2ac9a5519ac8a6292f2d4
MD5 26b2cc6473a80e4ea3969a84f331a0d2
BLAKE2b-256 e4354579ccde1ceac61db6310d48a4c03855fcaa8cdea1161fab2024f95be0c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page