Skip to main content

A Geometry Dash API wrapper for Python

Project description

Project License Project Development Status Library Downloads/Month PyPI Library Version Required Python Versions Documentation Status Code Quality [Codacy]

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

import gd

client = gd.Client()

async def test():
    song = await client.get_song(633206)
    print(song.name)

client.run(test())

# 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.

Authors

This project is mainly developed by NeKitDS, with help of blue#0002. Big thanks to cos8o for helping to make several requests and developing GDCrypto library, which was used as a base for crypto package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gd.py-0.9.5.tar.gz (3.2 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page