Socket
Socket
Sign inDemoInstall

@pesdk/getty-images-integration

Package Overview
Dependencies
154
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pesdk/getty-images-integration

The Getty Images Library SDK lets your users easily search, license and edit stock photos from Getty's creative and editorial libraries.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
4
Install size
1.69 MB
Created
Weekly downloads
 

Readme

Source

Getty Images Library SDK

The Getty Images Library SDK lets your users easily search, license and edit stock photos from Getty's creative and editorial libraries.

Users can find and license images through an easy to use search interface without leaving your application or website. Export the licensed images to your application for further processing whether you are powering content creation or graphic design.

Prerequisite

You need to use your backend endpoint that provides an OAuth token for the Getty Images API.

Getting Started

Install the Package

yarn add @pesdk/getty-images-integration @pesdk/getty-images photoeditorsdk react react-dom

or

npm install --save @pesdk/getty-images-integration @pesdk/getty-images photoeditorsdk react react-dom

Add the container to your application

<div id="editor" style="position: relative, width: 100vw, height: 100vh" />

Initialize the Getty Images Library SDK

import { PhotoEditorSDKUI } from '@pesdk/getty-images-integration';

await PhotoEditorSDKUI.init({
  gettyAPIKey: "<YOUR_GETTY_API_KEY>",
  gettyTokenURL: `${window.location.href}/token`,
  container: "#editor",
  assetBaseUrl: "https://cdn.img.ly/packages/imgly/photoeditorsdk/5.17.4/assets",
});

Examples

Getty Images Library SDK example

PhotoEditor SDK Documentation

Visit our docs

License

Please see LICENSE for licensing details.

Support and License

Use our service desk for bug reports or support requests.

Keywords

FAQs

Last updated on 10 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc