Skip to main content
Python3.6

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

Install

Install using pip

$ pip install atom-alter-api

Usage

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()
        print(balances)

if __name__ == "__main__":

    testClass = TestClass()
    asyncio.ensure_future(testClass.run())

    loop = asyncio.get_event_loop()
    loop.run_forever()
    loop.close()

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 https://github.com/hyperevo/Atomars-alterdice-API
  2. Install using pip

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

Metadata

Release files for atom-alter-api 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atom-alter-api 0.1.4
File Size Uploaded Provenance Actions
atom_alter_api-0.1.4.tar.gz 7.9 kB Without provenance Details for atom_alter_api-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atom-alter-api 0.1.4
File Interpreter ABI Platform Actions
atom_alter_api-0.1.4-py3-none-any.whl Python 3 none any Details for atom_alter_api-0.1.4-py3-none-any.whl

Total release size: 18.3 kB

Release files / atom_alter_api-0.1.4.tar.gz

Download URL atom_alter_api-0.1.4.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f11b7c4c1c1c424805f9afc2fb63cb0311fe35ad9fd3c2165cf9a8f49d874124
BLAKE2b-256 checksum
How to use checksums
97e307dc31dbac8481cc244aac07986f70013d097500a6cd16eaf635ba9ece77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / atom_alter_api-0.1.4-py3-none-any.whl

Download URL atom_alter_api-0.1.4-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1869cb4a1e1f59326083641349053c11f53961c29015bc0dea6087fe5f0f411d
BLAKE2b-256 checksum
How to use checksums
737c55e3a526d1ec0115888508aaffe6f260003ea03e0e29f6f12a9efd587dd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Security for atom-alter-api 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page