Skip to main content

微网通联 API

Project description

guolei-py3-51welink

a python3 library for 51welink

Document

Example

from guolei_py3_51welink.library.sms import (
    Api as SmsApi, UrlSetting as SmsApiUrlSetting
)

sms_api: SmsApi = SmsApi(
    base_url="https://api.51welink.com/",
    account_id="<ACCOUNT ID>",
    password="<PASSWORD>",
    product_id="<PRODUCT ID>"
)

state: bool = sms_api.send_sms(
    path=SmsApiUrlSetting.ENCRYPTIONSUBMIT_SENDSMS,
    phone_nos="your phone number",
    content="your message conetnt【your sign】",
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

guolei_py3_51welink-2.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

Supported by

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