Skip to content

This is a client library for the Pokémon Showdown! battle simulator.

License

Notifications You must be signed in to change notification settings

ScottehMax/pyshowdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyshowdown logo

This is a client library for the Pokémon Showdown! battle simulator.

Installation

pip install pyshowdown

Usage

from pyshowdown import client
import asyncio

if __name__ == "__main__":
    c = client.Client(
        username="username",
        password="password",
        url="wss://sim3.psim.us/showdown/websocket",
    )

    # System plugins (challstr, init, deinit, title, users) are automatically loaded
    # Load any additional custom plugins here if needed:
    # c.load_plugin("custom_plugin_name")

    loop = asyncio.get_event_loop()
    loop.run_until_complete(c.keep_connected())

Documentation

Full documentation is available at https://docs.scotteh.me/pyshowdown/.

About

This is a client library for the Pokémon Showdown! battle simulator.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages