uNoGS

免费增值
Verified
通过 Admin | 已更新 21 giorni fa | Entertainment
人气

9.8 / 10

延迟

939ms

服务等级

100%

Health Check

N/A

返回所有讨论

How accurate is the CountryInfo: new 7, or Expiring in relation to the matching API

Rapid account: Jetapinc
Jetapinc
vor 7 Jahren

Hello
Quick question, when my code fetch the country information, it does contains some meta information about the total number of movies released in the last 7, or 30 days, and “expiring”… But if I check the information by calling the corresponding API for a country, the total number of items returned doesn’t match. Example: calling the country API return for the US:

[“78”,“us”,“United States”,“29”,“200”,“37”,“5305”,“1258”,“4047”,“USD”,“7.99”,“9.99”,“11.99”]

So 29 recent in the last 7 days, and 200 in the last 30 days with 37 expiring.

If I now call the API for the US to get the list of movies recently released in the last 7 days with the param: q=get:new7:US&p=1&t=ns&st=adv , the content returned is:
{“COUNT”:“26”,“ITEMS”:[[ …

So 26 instead of 29… So it looks like the API for the country info is not matching the info returned when using the detailed API (same thing happen for expiring)… So I am kind of wondering what is the purpose of the extra info in the country API… Initially I was planning to use it to show some meta information for the user to select the country but since the info is inaccurate it’s probably going to end up with various support questions.

Thanks!

Rapid account: Jetapinc
Jetapinc Commented vor 7 Jahren

Ok that make sense. Maybe In the future adding in the payload for countries some info on the date/time when it was cached/computed will be a great addition.

Rapid account: Unogs
unogs Commented vor 7 Jahren

the country meta data is cached to save the database so depending on when you look at it, it may not be 100% accurate

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论