uNoGS

부분 유료
Verified
분류별 Admin | 업데이트됨 20 दिन पहले | Entertainment
인기

9.8 / 10

지연 시간

928ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

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

Rapid account: Jetapinc
Jetapinc
7 वर्ष पहले

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

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

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

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

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