Seamlessly integrate Getty Images' expansive digital content, powerful search technology, and rich metadata into your publishing tools, products and services!
- Search for images from our extensive creative and editorial catalogs.
- Get image metadata.
- Download files using your Getty Images products (e.g., Editorial subscriptions, Easy Access, Thinkstock Subscriptions, and Image Packs).
- You have Java SDK installed.
- You have "Getty Test" credentials from the Getty Images API Portal
- You have IntelliJ IDEA installed
- You have Maven installed
Import the module into your project
File | New | Module from Existing Sources...
Point to the *gettyimagesapi-sdk* folder
Select *Maven* via *Import module from external model* window
Click on Next, Next, then click Finish
See gettyimagesapi-examples folder for examples
You can run the examples by using Maven's exec:java
call. The following shows how to run the creative search example:
(Edit CreativeSearch.java to include correct API Key, Secret, Username, and Password)
cd gettyimagesapi-examples
mvn clean install
mvn exec:java -Dexec.mainClass="com.gettyimages.search.CreativeSearch"
- Fork it ( https://github.com/[my-github-username]/ConnectSdk/fork )
- Update the submodules (
git submodule update --init
) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
The tests expect credentials to be stored in environment variables. The following are required to be set:
- GettyImagesApi_ApiKey: API key assigned when you registered
- GettyImagesApi_ApiSecret: API secret assigned when you registered
- GettyImagesApi_UserName: a Getty Images user. Create one at the Getty Images website.
- GettyImagesApi_UserPassword: Getty Images user's password
Our wish-list is (in no particular order):
- Add more examples to gettyimagesapi-examples
- Implement more features!