|
| 1 | +Fotolia API Kits |
| 2 | +================ |
| 3 | +Olivier Sirven <olivier@fotolia.com> |
| 4 | +:website: http://www.fotolia.com/ |
| 5 | + |
| 6 | +Introduction |
| 7 | +------------ |
| 8 | +Fotolia’s industry-leading API allows developers and businesses to |
| 9 | +quickly integrate a vast database of images in their workflows and |
| 10 | +business models. |
| 11 | + |
| 12 | +Whether you’re developing an application with millions of photos, or |
| 13 | +integrating a stock photography library into your business to increase |
| 14 | +customer satisfaction, Fotolia’s powerful APIs are key. But technical |
| 15 | +excellence is only part of the formula – our business development team |
| 16 | +will work with you to determine the best way to maximize results. |
| 17 | + |
| 18 | +Fotolia’s API line-up |
| 19 | +--------------------- |
| 20 | + |
| 21 | +Partner API |
| 22 | +~~~~~~~~~~~ |
| 23 | +Our Partner API allows you to embed royalty-free image search into |
| 24 | +your website. |
| 25 | + |
| 26 | +- Your customers may search the entire Fotolia library to find images |
| 27 | + without leaving your website. |
| 28 | +- After finding the perfect image, your customer clicks through to us to |
| 29 | + buy. |
| 30 | +- Since our Affiliate Program is also built into this API, we |
| 31 | + automatically pay you for all revenues generated. |
| 32 | +
|
| 33 | +http://www.fotolia.com/Services/API/Partner[Learn more] |
| 34 | + |
| 35 | +Business API |
| 36 | +~~~~~~~~~~~~ |
| 37 | +Our Business API is for on-demand businesses producing custom |
| 38 | +merchandise and products, including web site templates and printed |
| 39 | +materials. |
| 40 | + |
| 41 | +- Your customers will gain access to high-resolution images directly |
| 42 | + within your application or web-based tool. |
| 43 | +- Wholesale pricing is available. |
| 44 | +- You can also use this API to embed Fotolia into your intranet or |
| 45 | + application to make search and download faster. |
| 46 | +
|
| 47 | +http://www.fotolia.com/Services/API/Business[Learn more] |
| 48 | + |
| 49 | +Reseller API |
| 50 | +~~~~~~~~~~~~ |
| 51 | +Our Reseller API allows you to sell Fotolia’s images under your brand name to your customers. |
| 52 | + |
| 53 | +- Access Fotolia’s entire microstock image library, with full search |
| 54 | + and download capability. |
| 55 | +- A complete white-label solution, available in select markets around |
| 56 | + the world. |
| 57 | +
|
| 58 | +http://www.fotolia.com/Services/API/Reseller[Learn more] |
| 59 | + |
| 60 | +Content of this package |
| 61 | +----------------------- |
| 62 | + |
| 63 | +This package contains a full implementation of the API for PHP, python |
| 64 | +and java. Each provides an example file to show how to use it. |
| 65 | + |
| 66 | +PHP |
| 67 | +~~~ |
| 68 | + |
| 69 | +Requirements: |
| 70 | + |
| 71 | +- http://www.php.net[PHP >= 5.2] |
| 72 | +- http://www.php.net/curl[PHP cURL extension] |
| 73 | +
|
| 74 | +.Example usage |
| 75 | + |
| 76 | +[source,php,numbered] |
| 77 | +------------------------------------------- |
| 78 | +include::php/example.php[] |
| 79 | +------------------------------------------- |
| 80 | + |
| 81 | + |
| 82 | +Python |
| 83 | +~~~~~~ |
| 84 | + |
| 85 | +Requirements: |
| 86 | + |
| 87 | +- http://python.org/[Python >= 2.7] |
| 88 | +- http://pycurl.sourceforge.net/[pycurl extension] |
| 89 | +
|
| 90 | +
|
| 91 | +.Example usage |
| 92 | + |
| 93 | +[source,python,numbered] |
| 94 | +------------------------------------------- |
| 95 | +include::python/example.py[] |
| 96 | +------------------------------------------- |
| 97 | + |
| 98 | + |
| 99 | +Java |
| 100 | +~~~~ |
| 101 | + |
| 102 | +Requirements: |
| 103 | + |
| 104 | +- http://hc.apache.org[apache common HTTP client] |
| 105 | +- http://code.google.com/p/json-simple/[json simple] |
| 106 | +- http://www.java.com[java JDK >= 6.26] |
| 107 | +
|
| 108 | +A simple Makefile is provided to help using it. It supports following |
| 109 | +commands: |
| 110 | + |
| 111 | +build:: |
| 112 | + Build the entire package |
| 113 | + |
| 114 | +jar:: |
| 115 | + Create a JAR file for easy inclusion |
| 116 | + |
| 117 | +clean:: |
| 118 | + Clean the build files |
| 119 | + |
| 120 | +example:: |
| 121 | + Build the example program |
| 122 | + |
| 123 | +.Example usage |
| 124 | + |
| 125 | +[source,java,numbered] |
| 126 | +------------------------ |
| 127 | +include::java/example.java[] |
| 128 | +------------------------ |
| 129 | + |
| 130 | +Informations |
| 131 | +------------ |
| 132 | +Email: api@fotolia.com |
| 133 | + |
| 134 | +http://groups.google.com/group/FotoliaAPI?pli=1[Google Groups] |
| 135 | + |
| 136 | +http://us.fotolia.com/Services/API/Rest/Documentation[Online Documentation] |
0 commit comments