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.3.tar.gz (3.0 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.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: meta_truemoney_api-1.0.3.tar.gz
  • Upload date:
  • Size: 3.0 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.3.tar.gz
Algorithm Hash digest
SHA256 c890d51eff87b7a2aee628509ca23832d826d3d976a42e6d620db2b0e67e9aa5
MD5 83873b58d87559c52d455d2dd8cc103b
BLAKE2b-256 eeb9dee0b68d26638c544415577afc3e6ac1346406a0c4ad1e1a5d1656ddec1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meta_truemoney_api-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 942f0ff349a45944e4052280775270c2dc072ed290df53e4945119c3b71c1a23
MD5 97643c0974e800c5221886e311d02243
BLAKE2b-256 1287d49bbd2c5f745b83e2478a810e270a06270e2529b5b75ba483b978c002ea

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