Skip to main content

API สำหรับเชื่อมต่อระบบซองอั่งเปา TrueMoney

Project description

🧧 meta-truemoney-api

โมดูล Python สำหรับเชื่อม API ซองอั่งเปา TrueMoney แบบไม่คิดค่าธรรมเนียม
เหมาะสำหรับใช้งานร่วมกับ Discord Bot, Backend Web, และอื่น ๆ

🔧 ติดตั้ง

pip install meta-truemoney-api

🧠 วิธีใช้

from meta_truemoney_api.client import MetaTrueMoneyAPI

api = MetaTrueMoneyAPI(api_key="YOUR_API_KEY", phone="0800000000")
result = api.redeem("https://gift.truemoney.com/campaign/?v=xxxxxx")

if result["status"]:
    print("เติมสำเร็จ:", result["credited"], "บาท")
else:
    print("ผิดพลาด:", result["error"])

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

meta_truemoney_api-1.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meta_truemoney_api-1.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file meta_truemoney_api-1.0.1.tar.gz.

File metadata

  • Download URL: meta_truemoney_api-1.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for meta_truemoney_api-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d339c4dcb00e37683f2cd17e4cacab81c699d198372f1bc2af4a74b4f9f008c3
MD5 abda2a01ffbc672ce7f5ad6614a388dc
BLAKE2b-256 6232531446f11a062a7c82d2143e4d38dc93631b1af065bc4771895b3b3a7026

See more details on using hashes here.

File details

Details for the file meta_truemoney_api-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for meta_truemoney_api-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c68bb4c6f976f60f8b75f4a614218009b46db07f4ac87652c60923a38090b9be
MD5 d520ad2225381020e5a0525fab1a1956
BLAKE2b-256 463d5ea34de02f241630cfe1a533e20eeb57fa949c17eb91fdae30b4e0872c37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page