Skip to main content

A Geometry Dash API wrapper for Python

Project description

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

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)

client.run(test())  # or 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.

Authors

This project is mainly developed by NeKitDS, with help of blue. 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.10.0.tar.gz (69.4 kB 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