Skip to main content

A simple async wrapper for the Wakatime API

Project description

🔃 Awakatime

An asynchronous API wrapper for Wakatime

wakatime discord
documentation english português
report pypi license

Installation

pip install awakatime

Usage

import asyncio

from awakatime import Awakatime


async def main():
    async with Awakatime("your_api_key") as awakatime:
        tasks = [awakatime.get_all_time(), awakatime.get_projects()]
        all_time, projects = await asyncio.gather(*tasks)
        print(all_time)
        print(projects)


if __name__ == "__main__":
    coro = main()
    asyncio.run(coro)

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

awakatime-1.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

awakatime-1.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file awakatime-1.1.1.tar.gz.

File metadata

  • Download URL: awakatime-1.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for awakatime-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6d74d88a4c846c732cd35676a6640afdb20e5e47cfce36a8f455567d9c948853
MD5 bbed0457cffcf8031fbb4d1a0d94b139
BLAKE2b-256 fc6c26a820a4e6817c837540183b4f97af4c0c78f14aa5d0cfcbe40985f72db8

See more details on using hashes here.

File details

Details for the file awakatime-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: awakatime-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for awakatime-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1b5e9ec7cb56445002ad7610cbb597aa9428fc7af6bd4740bd21afa0712f68e
MD5 46677f7a626916ed3a885770939b2d8f
BLAKE2b-256 79a4ad79a81b54901af052f73a543db2ee8520f997c8b03473b064fad74910d9

See more details on using hashes here.

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