uNoGS

부분 유료
Verified
분류별 Admin | 업데이트됨 hace 20 días | Entertainment
인기

9.8 / 10

지연 시간

928ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Even better json structure

Rapid account: Deckameron
deckameron
hace 8 años

Hi folks,

Thank you for this awesome api!
I have a suggestion to make. What do you think about a json structure like this:
<pre><code>
“nfinfo” : {
“imdbimage” : “/images/imdb/tt0323531.jpg”,
“name” : “Out for a Kill”,
“plot” : “In China, Robert Burns digs up a treasure trove of artifacts and discovers they’re the kind the Chinese mafia use to spirit drugs out of the country.”,
“audiences” : “General Audiences”,
“rating” : “3.2870402”,
“type” : “movie”,
“year” : “2003”,
“id” : “60029591”,
“runtime” : “1h30m”,
“boxart” : “http://cdn0.nflximg.net/images/8798/24818798.jpg
}
</code></pre>
Instead of this:
<pre><code>
“nfinfo”: [
"/images/imdb/tt0323531.jpg",
“Out for a Kill”,
“In China, Robert Burns digs up a treasure trove of artifacts and discovers they’re the kind the Chinese mafia use to spirit drugs out of the country.”,
“General Audiences”,
“3.2870402”,
“movie”,
“2003”,
“60029591”,
“1h30m”,
http://cdn0.nflximg.net/images/8798/24818798.jpg
]
</code></pre>

I would make it so much easier to parse. 😃

Thanks again.

Rapid account: Deckameron
deckameron Commented hace 8 años

I understand!
Thank you for the fast reply. 😉

Rapid account: Unogs
unogs Commented hace 8 años

Originally the API was just built using the same backend as the website so it was not built with a public facing API in mind. Unfortunately now that it is up and i have quite a few active users, changing it would break a lot of peoples applications. I may build a new API in the future (unogs2 or something) which will be a lot more user friendly, but this will be down the road a bit.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입