cloudinary / cloudinary/cloudinary_java

Update the API to support proper classes, remove raw maps, class responses

未關閉
#239 4 則留言 5 個 reaction 已指派 1 人 已被 @michalkcloudinay 認領 在 GitHub 檢視
主要語言
Java
星號
175
分支
113
PR 合併指標
30 天內沒有已合併 PR

描述

## Feature request for Cloudinary Java SDK
I think it's safe to say that most Java users today use >= JDK 8. I would be great to have a Cloudinary API you could use and know exactly what you need to send and exactly what you are going to get back without having to read the docs on what JSON responses return or what you could pass for the "Object" parameter in a method like upload().

Adding support for uploading InputStream and byte[] would also be a great addition.

## Explain your use case
Asking for a self-explanatory API

## Describe the problem you’re trying to solve
Not spending so much time going through the documentation on what raw Maps include.

## Do you have a proposed solution?
- Instead of passing Objects, create convenience methods that take self-explanatory classes.
- Instead of raw maps, pass class objects with the proper / available accessors.

In a nutshell, make this API more friendly. Currently, every time I have to work with the Cloudinary Java API, I have to start from scratch and read the docs over again to see what's available to me. Look at Stripe's Java API for an example of an incredibly well-formed API.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。