An async wrapper for the CSBlueGem api.
Project description
An asynchronous wrapper for the CSBlueGem API.
Quickstart
import asyncio
from textwrap import dedent
import csbluegem
async def main():
async with csbluegem.Client() as client:
results = await client.search("Bayonet")
for result in results:
s = f"""
Pattern: {result.pattern}
Float: {result.float}
Stattrak?: {result.is_stattrak}
Price: {result.price:,}
Date: {result.timestamp}
Origin: {result.origin}
Days Since Sale: {result.days_since:,}
"""
print(dedent(s), end="\n\n")
if __name__ == "__main__":
asyncio.run(main())
Additional examples available HERE
Documentation available HERE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csbluegem_py-0.1.1.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for csbluegem.py-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310e415cb3f5bf774851a0718206fce979996cb54a24cfadb3b845d9314f5c5d |
|
MD5 | b891c32e66433cb4ef389167071f0855 |
|
BLAKE2b-256 | b13934b06031b579f90a235aebea1767f476632b77608b03801881730262d2a0 |