Skip to main content

Tremendous Api Client Python package

Project description

PyPI version

NetGsm Python PyPackage

NetGsm is the most popular sms provider at Turkey. NetGsm client is a Python library to access services quickly.

Installation

Use the package manager pip to install foobar.

pip install NetGsm

Environment Variables

NETGSM_USER_CODE: net gsm user code
NETGSM_USER_PASSWORD: net gsm user password

Note

If you don't want to set this variables from global environment you can pass them to class. You can see usage below

Usage

from tremendous import SmsService

kwargs = {
    # you can also set user code from environment.
    'user_code': 'net gsm user code',  # Default value : None
    # you can also set user password from environment.
    'user_password': 'net gsm user password',  # Default value : None
    'api_url': 'net gsm api url'  # Default value : 'https://api.netgsm.com.tr/sms/send/get'
}
sms_service = SmsService(**kwargs)
sms_service.send_sms(phone='Phone Number (5551234567)', message='Your Message', header='Your header')
# header default value : None if you don't pass this value your header is your user code

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

TremendousClient-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

TremendousClient-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file TremendousClient-0.0.1.tar.gz.

File metadata

  • Download URL: TremendousClient-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for TremendousClient-0.0.1.tar.gz
Algorithm Hash digest
SHA256 26150fff5220914d238a09534f06c33ef0b198c875c6738e3878cf89dd883df9
MD5 9949129e520d3ba1140a45a7f639d87b
BLAKE2b-256 1550109a246dfb94ad7044f14e7eeb0d0df2398e331ef1fe8e29d1ac1a8bb3fd

See more details on using hashes here.

File details

Details for the file TremendousClient-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for TremendousClient-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c971b02e81a0884b78fb94f7232056b0fbf5f78771c93ef825e757ed9e6007ad
MD5 c73926328d30382d2b8b59102d619b05
BLAKE2b-256 42230979297a2a2525f0d8f191d1b7b223c46e1085c7e71d421ed6c6a3740ccb

See more details on using hashes here.

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