RAWG Video Games Database

무료
분류별 RAWG | 업데이트됨 22 दिन पहले | Gaming
인기

9.7 / 10

지연 시간

502ms

서비스 수준

91%

Health Check

N/A

모든 토론으로 돌아가기

Is it possible to choose a random slug name out of all games?

Rapid account: Artiscostar
artiscostar
एक वर्ष पहले

Hello! I’m using the rawg code from uburuntu and I was wondering if there was a way to get a random slug name out of the api using it. With the example line coros = [api.games_read(id=name) for name in [‘grand-theft-auto-v’, ‘minecraft’]], I could put whatever specific game I want in the list and get info, but what if I want a random game’s information? I would need to somehow access all the slug names and choose from it randomly, but I’m not sure how to do that. Thanks!

Rapid account: Asusalman 986
asusalman986 Commented 8 महीने पहले

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

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