Skip to content

TallSmaN/aioclashroyale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AioClashRoyale


Python License Last Commit GitHub Release


Clash Royale API Wrapper

Example usage

from aioclashroyale import AioClashRoyale
from aioclashroyale.client import Token
from asyncio import run


acr: AioClashRoyale = AioClashRoyale(token=Token.from_env(env_file='.env', key='CLASH_ROYALE_TOKEN'))


async def main() -> None:
    await acr.get_player(player_tag='#2YLRGVVC')

    
if __name__ == '__main__':
    run(main())

How to setup?

Pip

pip install aioclashroyale	

Poetry

poetry add aioclashroyale	

About

Clash Royale API Wrapper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages