Giter Site home page Giter Site logo

adobe / stock-api-sdk Goto Github PK

View Code? Open in Web Editor NEW
15.0 19.0 6.0 5.17 MB

Official Adobe Stock SDKs for use with the Stock APIs

Home Page: https://stock.adobe.com

License: Apache License 2.0

adobe adobe-stock-api stock sdk java javascript php stock-apis

stock-api-sdk's Introduction

Adobe Stock API SDKs

Here you will find official SDKs for use with the Adobe Stock APIs. Please note that these repositories have moved from this URL, and are now each located in their own repository.

Inside each project folder you will find a README with instructions for use.

Note that the SDK does not generate an access token for licensing operations. For that, consult the Adobe Stock API documentation.

In addition, there is some sample code available for the repositories located at https://github.com/adobe/stock-api-samples.

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

stock-api-sdk's People

Contributors

chfabbro avatar filmaj avatar pragatijohri avatar vagarwal2403 avatar vksuthar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stock-api-sdk's Issues

PHP thumbnail size ignored due to incorrect mapping

The thumbnail size parameter is incorrect...

'[filters]' should be removed from the thumbnail_size line in order to return the correct sized thumbnail.

https://github.com/adobe/stock-api-sdk/blob/master/stock-api-libphp/src/Models/SearchParameters.php

'filters_thumbnail_size' => '[filters][thumbnail_size]',

Also, the size definitions appear different to that of the documentation.

https://github.com/adobe/stock-api-sdk/blob/master/stock-api-libphp/src/Core/Constants.php
Original...
$_searchParamsThumbSizes = [ 'MEDIUM' => 110, 'BIG' => 160, 'XL' => 500, 'XXL' => 1000, ];

As per docs...
$_searchParamsThumbSizes = [ 'SMALL' => 110, 'MEDIUM' => 160, 'LARGE' => 240, 'XL' => 500, 'XXL' => 1000, ];

The watermark appears on each image at 240px, how can we remove the thumbnail watermark as per the documentation?

Is this 'umbrella' repo needed?

I'm simply looking to have a discussion about this.

Since we have the actual language implementations elsewhere, do we find this repo provides value? Perhaps from an issue-gathering standpoint? Or maybe it does not?

I'm in spring cleaning mode for github.com/adobe so thought I'd throw this out as a question ๐Ÿ˜„

CONTRIBUTING.md lacks links

  • missing link/email where code of conduct violations can be reported
  • missing link on where to sign / submit the CLA

API Key invalid

Hi guys,

I'm trying to use the Adobe Stock API in combination with this PHP SDK for Adobe Stock and hope that someone can help me solve the issues that I'm currently facing. I created a new integration at the adobe console which provided me with the necessary API key and client secret for OAuth. When I'm now sending a request with Postman using the given API key everything works fine like you can see here:

postman

However when I'm trying to do the same basic request with the Stock API PHP library I always get the response:

{"error_code":"403003","message":"Api Key is invalid"}

Since the library is using GuzzleHttp I dumped the header of the sent request in order to debug a little further and to confirm that the correct api key has been sent.

header

I blackened most of the api key but I'm 100% sure that it is correct.

Has someone of you guys experienced something like that? Or has someone a advice on how I should further debug this issue?

By the way: I also obtained an access token using the User Auth UI but apparently the token is not necessary for requests on /Search/Files.

Thanks for your help!

Andreas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.