-
Notifications
You must be signed in to change notification settings - Fork 3
Home
embedly edited this page Sep 14, 2010
·
7 revisions
Embed.ly API Client
This is a simple python API client to use with the Embed.ly API
- For other languages including javascript : http://api.embed.ly/documentation#libraries
Background
- API Documentation : http://api.embed.ly/documentation
- oEmbed Standard: http://oembed.com
The Embed.ly API currently follows the oEmbed standard which is standard way to retrieve embeddable content via a URL.
- For example, take a YouTube URL and pass it to the API to retrieve a standard response containing the embed code for the video.
- http://api.embed.ly/v1/api/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DI6ObTqIiYfE%26NR%3D1
Setup
Dependencies
- simplejson – http://cheeseshop.python.org/pypi/simplejson
Source
- http://github.com/embedly/embedly
- using git
- git clone http://github.com/embedly/embedly
Commands:
- python setup.py build
- python setup.py install
Test install:
- python tests/client.py
Using the client library
- Some sample code