Home
Softono

LingXingApi

Open source Python
17
Stars
4
Forks
1
Issues
0
Watchers
3 months
Last Commit

 About LingXingApi

An async API client for LingXing (领星) ERP

Platforms

Web Self-hosted

Languages

Python

Links

Need Help Installing LingXingApi?

We provide expert installation service for this software. Our team will install, configure, and secure LingXingApi on your server. plans start at just $30.

LingXingApi

View on GitHub

An async API client for LingXing (领星) ERP

Created to be used in a project, this package is published to github for ease of management and installation across different modules.

Installation

Install from PyPi

pip install lingxingapi

Install from github

pip install git+https://github.com/AresJef/LingXingApi.git

Requirements

  • Python 3.10 or higher.

Example

from lingxingapi import API

# Context Manager
async def test(self, app_id: str, app_secret: str) -> None:
    async with API(app_id, app_secret) as api:
        sellers = await api.basic.Sellers()

# Close Manually
async def test(self, app_id: str, app_secret: str) -> None:
    api = API(app_id, app_secret)
    sellers = await api.basic.Sellers()
    await api.close()

Acknowledgements

LingXingApi is based on several open-source repositories.