A Geometry Dash API wrapper for Python
Project description
gd.py is a library that provides its users ability to interact with servers of Geometry Dash.
Key Features
Modern Pythonic API
High coverage of the supported Geometry Dash API
Using async and await syntax
Installing
Python 3.5.3 or higher is required
To install the library, you can just run the following command:
# Linux/OS X
python3 -m pip install -U gd.py
# Windows
py -3 -m pip install -U gd.py
To install the developer version, run these commands:
$ git clone https://github.com/NeKitDS/gd.py
$ cd gd.py
$ python3 -m pip install -U .
Quick example
Please note: gd.py writes the new method for coroutines, called ‘run’.
import gd
client = gd.Client()
async def test():
song = await client.get_song(633206)
print(song.name)
test().run()
# OUTPUT: Random Song 01
You can find more examples in examples directory.
NOTICE
Developers of this library do not own any images in resources package. All of them were created and are owned by the Developer of Geometry Dash - Robert Topala (aka RobTop).
Credits
Thanks to Alex1304 for creating SpriteFactory in Java, which was ported to Python by NeKitDS.
Credits to Rapptz and discord.py library developers; tasks package in discord.py is a base for tasks.py file.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.