Skip to main content

An unofficial python library for communication with the Atomars and Alterdice exchanges API

Project description


This is an unofficial python API for Atomars and Alterdice exchanges.


Install using pip

$ pip install atom-alter-api


Note: Many of the functions in the API are async. So you have to use await or ensure_future etc… To use the API in another python program, first import asyncio and the API, then login using your username and password, then call whatever function you would like. Because the API is asyncio, we will need to do this within a class so that we can “await” for functions to complete. Here is a simple example to get the balances:

import asyncio
from atom_alter_API.api import AtomarsAlterdiceAPI

class TestClass():

    def __init__(self):
        self.api = AtomarsAlterdiceAPI(API_login_username, API_login_password)

    async def run(self):
        await self.api.login()
        balances = await self.api.get_balances()

if __name__ == "__main__":

    testClass = TestClass()

    loop = asyncio.get_event_loop()

See the docs folder for more info. Also see tests for some more code examples.

Install for development

  1. Clone this repo

    $ cd ~/
    $ git clone
  2. Install using pip

    $ cd Atomars-alterdice-API
    $ pip3 install -e .

Project details

Download files

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

Files for atom-alter-api, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size atom_alter_api-0.1.4-py3-none-any.whl (10.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size atom_alter_api-0.1.4.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page