{ "info": { "author": "Francois Lagunas", "author_email": "francois@stupeflix.com", "bugtrack_url": null, "classifiers": [], "description": ".. warning::\n This client and API are no longer supported,\n please go to http://developer.stupeflix.com\n to get the latest documentation.\n\n===================================================\nStupeflix web services client libraries & examples.\n===================================================\n\nhttp://www.stupeflix.com\n\nThe service client libraries are currently available for python, php, java and ruby.\n\nYou will get example code in each language directory under example directories.\nThe \"commandline\" code can be directly invoked:\n - in php, using php-cli : php example.php\n - in python, just using the command : python commandline.py\n - in java : \n javac -classpath \".:stupeflix.jar\" Example.java; \n java -classpath \".:stupeflix.jar\" Example\n - in ruby : ruby commandline.rb\n\nThese command line examples will use the movie.xml example file in the current directory.\nThe movie.xml file is commented, and will give you both simple and advanced tricks to use \nthe movie description xml language.\n\nYou can too directly copy the php \"simple_web_ui\" directory on your web server : \nit will show you how to quickly start the integration of the stupeflix services.\n\nTo run this code, you will need to change the access key and private key \nin the \"keys.XXX\" file (keys.php, keys.py, key.rb ...) .\nTo get your accessKey / secret Key pair, \ngo to http://accounts.stupeflix.com/ .\n\nThe XML file format is described in the stupeflix wiki: http://wiki.stupeflix.com\n\nNotes on the API\n================\n\nThe web services is REST based, this library is a simple wrapper for\ncalling HTTP methods with proper signature based authentication : it should be\neasy to adapt the client library for a new language.\n\nThe signature scheme is heavily inspired from Amazon S3.\nThe main difference is that only a minimum set of headers must be included,\nother parameters are included in the url itself.\nThis is intended to simplify the process on the client side : read-only requests \nare totally url contained.\n\nExternal dependencies\n=====================\n\nPython\n- httplib2, by Joe Gregorio, that you can found at http://code.google.com/p/httplib2/. \n A modified version is included here, as there is some bug in the original one with PUT request with 307 redirect.\n\n- demjson library for json encoding, by Deron Meranda