[![PyPI version](https://img.shields.io/pypi/v/PinPointClient.svg)](https://pypi.python.org/pypi/PinPointClient)
# PinPointClient Python PyPackage
PinPoint is Aws Sms Service. PinPointClient 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 PinPointClient
```
## Environment Variables
```bash
REGION: aws region
PINPOINT_MESSAGE_TYPE: message type
PINPOINT_APPLICATION_ID: application id
AWS_ACCESS: aws access key id
AWS_SECRET: aws secret access key
CHANNEL_TYPE: channel type
```
### 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 pinpoint import GsmService
kwargs = {
# you can also set region from environment.
'region': 'region', # Default value : 'eu-central-1'
# you can also set message type from environment.
'message_type': 'message type', # Default value : 'TRANSACTIONAL'
# you can also set channel type from environment.
'channel_type': 'channel type', # Default value : 'SMS'
# you can also set application id type from environment.
'applicationId': 'application id', # Default value : None
# you can also set aws access key id type from environment.
'aws_access': 'aws access key id', # Default value : None
# you can also set aws secret access key type from environment.
'aws_secret': 'aws secret access key', # Default value : None
}
gsm_service = GsmService(**kwargs)
gsm_service.send(phone='Phone Number (+905551234567)', message='Your Message')
```
## 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/PinPointClient.git",
"name": "PinPointClient",
"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/de/53/e93e45e533caa4003b5bb8cc4d36626b28d88645c81c9f797f07296f3701/PinPointClient-0.0.10.tar.gz",
"platform": null,
"description": "[![PyPI version](https://img.shields.io/pypi/v/PinPointClient.svg)](https://pypi.python.org/pypi/PinPointClient)\n\n# PinPointClient Python PyPackage\n\nPinPoint is Aws Sms Service. PinPointClient 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 PinPointClient\n```\n## Environment Variables\n\n```bash\nREGION: aws region\nPINPOINT_MESSAGE_TYPE: message type\nPINPOINT_APPLICATION_ID: application id\nAWS_ACCESS: aws access key id\nAWS_SECRET: aws secret access key\nCHANNEL_TYPE: channel type\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 pinpoint import GsmService\nkwargs = {\n # you can also set region from environment.\n 'region': 'region', # Default value : 'eu-central-1'\n # you can also set message type from environment.\n 'message_type': 'message type', # Default value : 'TRANSACTIONAL'\n # you can also set channel type from environment.\n 'channel_type': 'channel type', # Default value : 'SMS' \n # you can also set application id type from environment.\n 'applicationId': 'application id', # Default value : None\n # you can also set aws access key id type from environment.\n 'aws_access': 'aws access key id', # Default value : None\n # you can also set aws secret access key type from environment.\n 'aws_secret': 'aws secret access key', # Default value : None\n}\ngsm_service = GsmService(**kwargs)\ngsm_service.send(phone='Phone Number (+905551234567)', message='Your Message')\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": "PinPoint Aws Pinpoint SMS/Mail Client Python package",
"version": "0.0.10",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "99d50e59a7dc267ef78b67a9584af1e44893467ff6a7a0aaf4debd1e94ca9fd6",
"md5": "5d9d0e107205977dd6e38ebeb2c557e9",
"sha256": "dd6e01718b0d92d955f902c34203994ec8911520ee92fcf46082b2bb7fb062e2"
},
"downloads": -1,
"filename": "PinPointClient-0.0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5d9d0e107205977dd6e38ebeb2c557e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5674,
"upload_time": "2023-04-26T15:44:20",
"upload_time_iso_8601": "2023-04-26T15:44:20.152260Z",
"url": "https://files.pythonhosted.org/packages/99/d5/0e59a7dc267ef78b67a9584af1e44893467ff6a7a0aaf4debd1e94ca9fd6/PinPointClient-0.0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "de53e93e45e533caa4003b5bb8cc4d36626b28d88645c81c9f797f07296f3701",
"md5": "835f6396f48acb7194e7fa635d8ca1a1",
"sha256": "9cf3a1c020ccf0b42a6f2a649f2a2d08160aadf0f43c77d75ef960f7978f913b"
},
"downloads": -1,
"filename": "PinPointClient-0.0.10.tar.gz",
"has_sig": false,
"md5_digest": "835f6396f48acb7194e7fa635d8ca1a1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4510,
"upload_time": "2023-04-26T15:44:23",
"upload_time_iso_8601": "2023-04-26T15:44:23.229433Z",
"url": "https://files.pythonhosted.org/packages/de/53/e93e45e533caa4003b5bb8cc4d36626b28d88645c81c9f797f07296f3701/PinPointClient-0.0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-26 15:44:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "blueromans",
"github_project": "PinPointClient.git",
"lcname": "pinpointclient"
}