NetGsm


NameNetGsm JSON
Version 0.0.7 PyPI version JSON
download
home_pagehttps://github.com/blueromans/NetGsm.git
SummaryNetGsm Sms Client Python package
upload_time2023-04-11 19:51:06
maintainer
docs_urlNone
authorYaşar Özyurt
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://img.shields.io/pypi/v/NetGsm.svg)](https://pypi.python.org/pypi/NetGsm)

# 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](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install NetGsm
```
## Environment Variables

```bash
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

```python
from netgsm 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](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/blueromans/NetGsm.git",
    "name": "NetGsm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Ya\u015far \u00d6zyurt",
    "author_email": "blueromans@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a1/02/d644bda5efd76bbae76a27069722837bb078e821be0c56242afe8a22fb1f/NetGsm-0.0.7.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://img.shields.io/pypi/v/NetGsm.svg)](https://pypi.python.org/pypi/NetGsm)\n\n# NetGsm Python PyPackage\n\nNetGsm is the most popular sms provider at Turkey. NetGsm client is a Python library to access services quickly.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.\n\n```bash\npip install NetGsm\n```\n## Environment Variables\n\n```bash\nNETGSM_USER_CODE: net gsm user code\nNETGSM_USER_PASSWORD: net gsm user password\n```\n### Note\nIf you don't want to set this variables from global environment you can pass them to class.\nYou can see usage below\n## Usage\n\n```python\nfrom netgsm import SmsService\n\nkwargs = {\n    # you can also set user code from environment.\n    'user_code': 'net gsm user code', # Default value : None\n    # you can also set user password from environment.\n    'user_password': 'net gsm user password',  # Default value : None\n    'api_url': 'net gsm api url'  # Default value : 'https://api.netgsm.com.tr/sms/send/get'\n}\nsms_service = SmsService(**kwargs)\nsms_service.send_sms(phone='Phone Number (5551234567)', message='Your Message', header='Your header')\n# header default value : None if you don't pass this value your header is your user code\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "NetGsm Sms Client Python package",
    "version": "0.0.7",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a75dda614d069fa2b766206ecc375fddb95c6b574427e66867cc222b0182469a",
                "md5": "355a5316b232b5ddadc0094f52d388f1",
                "sha256": "0a20b104e47280351ae513c84d5d19a6ceb38bc3abc6c9ca6508bf3ee76ebba0"
            },
            "downloads": -1,
            "filename": "NetGsm-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "355a5316b232b5ddadc0094f52d388f1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4969,
            "upload_time": "2023-04-11T19:49:45",
            "upload_time_iso_8601": "2023-04-11T19:49:45.318645Z",
            "url": "https://files.pythonhosted.org/packages/a7/5d/da614d069fa2b766206ecc375fddb95c6b574427e66867cc222b0182469a/NetGsm-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a102d644bda5efd76bbae76a27069722837bb078e821be0c56242afe8a22fb1f",
                "md5": "cb5f1908e725c21af763b5f70fd3d2d0",
                "sha256": "c9060a7de87ed01cba080cf5180deb99d834a26688f4287033d4cfe60dd191ce"
            },
            "downloads": -1,
            "filename": "NetGsm-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "cb5f1908e725c21af763b5f70fd3d2d0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4257,
            "upload_time": "2023-04-11T19:51:06",
            "upload_time_iso_8601": "2023-04-11T19:51:06.255607Z",
            "url": "https://files.pythonhosted.org/packages/a1/02/d644bda5efd76bbae76a27069722837bb078e821be0c56242afe8a22fb1f/NetGsm-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-11 19:51:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "blueromans",
    "github_project": "NetGsm.git",
    "lcname": "netgsm"
}
        
Elapsed time: 0.06981s