Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Sinch is a lot like Twilio which made it's adaptation pretty quick into Apprise. However, unlike Twilio, it doesn't offer any free services that I'm aware of.
Account Setup
To use Sinch, you will need to acquire your Service Plan ID and API Token. Both of these are accessible via the Sinch Dashboard or through the API section.
You'll need to have a number defined as an Active Number (from your dashboard here). This will become your {FromPhoneNo} when identifying the details below.
Syntax
Valid syntaxes are as follows:
sinch://{ServicePlanID}:{ApiToken}@{FromPhoneNo}/{PhoneNo}
sinch://{ServicePlanID}:{ApiToken}@{FromPhoneNo}/{PhoneNo1}/{PhoneNo2}/{PhoneNoN}
If no ToPhoneNo is specified, then the FromPhoneNo will be messaged instead; hence the following is a valid URL:
sinch://{ServicePlanID}:{ApiToken}@{FromPhoneNo}/
Short Codes are also supported but require at least 1 Target PhoneNo
sinch://{ServicePlanID}:{ApiToken}@{ShortCode}/{PhoneNo}
sinch://{ServicePlanID}:{ApiToken}@{ShortCode}/{PhoneNo1}/{PhoneNo2}/{PhoneNoN}
Parameter Breakdown
Note: If you're using a ShortCode, then at least one PhoneNo MUST be defined.
us
oreu
. By default the region is set tous
.New Service Completion Status
keywords
section of thesetup()
declaration%global common_description
Checklist
flake8
)