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.2.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.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: meta_truemoney_api-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c5246adb5e2b5f138b4a00e39202e86582e82b36dc3c790f7859aeeb38b1fdbb
MD5 ca4fde92d505ae4c712a3b7909bef9d9
BLAKE2b-256 743fb911e847c02bc61755ba068ad789b4b6f9ee179f0f9610f6e73b543c3c19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meta_truemoney_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b426658be6a4be2409074a99af55cba7de714bee0ed9b9f301afab7fe98b8a3d
MD5 f31ef96d15a8c7bc53a849ce9f2e3dcb
BLAKE2b-256 5dce3e6121aa0c8c3b73b316d7e3d80ea8effd1f272fc03cc0f15e3eeca32d31

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