1ttric / owopclient

A Python client to connect to the popular online collaborative drawing board Our World Of Pixels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

owopclient

A Python client to connect to the popular online collaborative drawing board Our World Of Pixels

Example

A simple example that will fetch an area around the origin and then set part of that area to magenta:

from owopclient import owop

client = owop.Client("main")
await client.connect()
area = await client.get((-10, -10, 10, 10))
await client.post((0, 0, 5, 5), (255, 0, 255))
await client.close()

About

A Python client to connect to the popular online collaborative drawing board Our World Of Pixels

License:GNU General Public License v3.0


Languages

Language:Python 100.0%