https://github.com/amirhosseinab/gosms
A client library for the Restful APIs of https://www.sms.ir
https://github.com/amirhosseinab/gosms
golang golang-library library sms-api
Last synced: 5 months ago
JSON representation
A client library for the Restful APIs of https://www.sms.ir
- Host: GitHub
- URL: https://github.com/amirhosseinab/gosms
- Owner: amirhosseinab
- License: mit
- Created: 2019-04-14T13:20:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-01T05:21:51.000Z (about 7 years ago)
- Last Synced: 2024-06-20T12:04:13.818Z (about 2 years ago)
- Topics: golang, golang-library, library, sms-api
- Language: Go
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GOSMS
[](https://travis-ci.org/amirhosseinab/gosms)
[](https://codecov.io/gh/amirhosseinab/gosms)
[](https://goreportcard.com/report/github.com/amirhosseinab/gosms)
[](https://godoc.org/github.com/amirhosseinab/gosms)
[](https://github.com/amirhosseinab/gosms/tags)
[](https://opensource.org/licenses/MIT)
A Golang client library over the Restful APIs of [www.sms.ir](https://www.sms.ir).
I changed some of the APIs of this service to be more intuitive.
In the table below, I indicate which modules and methods of the SMS service implemented in this library.
Modules| APIs
:---:|---
UserInfo|
- [x] `GetToken`
- [x] `Credit`
- [ ] `SMSLine`
Send-Receive|
- [ ] `MessageSend`
- [ ] `MessageSend (ReportByDate)`
- [ ] `MessageSend (ReportById)`
- [ ] `MessageSend (ReportByBachkey)`
- [ ] `ReceiveMessage (ByLastID)`
- [ ] `ReceiveMessage (ByDate)`
CustomerClub|
- [ ] `CustomerClubContact (AddContact)`
- [ ] `CustomerClubContact (UpdateContact)`
- [ ] `CustomerClubContact (GetCategories)`
- [ ] `CustomerClubContact (GetContactsByCategory&ById)`
- [ ] `CustomerClubContact (GetAllContactsByPageID)`
- [ ] `CustomerClub (Send)`
- [ ] `CustomerClub (AddContact&Send)`
- [ ] `CustomerClub (SendToCategories)`
- [ ] `CustomerClub (GetSendMessagesByPagination)`
- [ ] `CustomerClub (GetSendMessagesByPaginationAndLastId)`
- [ ] `CustomerClub (DeleteContactCustomerClub)`
Verification|
- [x] `VerificationCode`
- [x] `UltraFastSend`
- [ ] `MessageReport`
---
## Contribution
Any contribution is welcome to this repo. If you find an issue, please report that in the Issues section.
Beyond that, if you like to code in this repo, I appreciate that.