User Agents Service ๐ถ๏ธ¶
List-like class of user agents responsible for loading and getting random user agents.
Instance is an API consumer of Random User Agent.
Creating instance and loading agents¶
from aiosteampy.ext.user_agents import UserAgentsService
user_agents = UserAgentsService()
await user_agents.load()
Getting random¶
List behaviour¶
Since the class inherits collections.UserList, it implements list methods,
which means you can do the following: