Skip to content

sulavmhrzn/hamrobazaar-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hamrobazaar-API

An unofficial python wrapper around hamrobazaar.com API

Install

pip install hamrobazaar-api

How to use?

import asyncio

from hamrobazaar.aioclient import HamrobazaarClient

async def main():
    with HamrobazaarClient(api_key) as client:

        # Get product detail with its id
        product = await client.get_product_detail("4ace7c2501964de481d4e0cf09121724")        
        
        print(product.name)
        print(product.price)
        print(product.description)
    
asyncio.run(main())

🚧 Work In Progress. 🚧

About

Python wrapper around hamrobazaar api

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages