uNoGS

פרמיום
Verified
על ידי Admin | מְעוּדכָּן 20 दिन पहले | Entertainment
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

928ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Even better json structure

Rapid account: Deckameron
deckameron
8 वर्ष पहले

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 8 वर्ष पहले

I understand!
Thank you for the fast reply. 😉

Rapid account: Unogs
unogs Commented 8 वर्ष पहले

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות