An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

## GOSMS

[![Build Status](https://travis-ci.org/amirhosseinab/gosms.svg?branch=master)](https://travis-ci.org/amirhosseinab/gosms)
[![codecov](https://codecov.io/gh/amirhosseinab/gosms/branch/master/graph/badge.svg)](https://codecov.io/gh/amirhosseinab/gosms)
[![Go Report Card](https://goreportcard.com/badge/github.com/amirhosseinab/gosms)](https://goreportcard.com/report/github.com/amirhosseinab/gosms)
[![GoDoc](https://godoc.org/github.com/amirhosseinab/gosms?status.svg)](https://godoc.org/github.com/amirhosseinab/gosms)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/amirhosseinab/gosms.svg?color=b03cca&label=version)](https://github.com/amirhosseinab/gosms/tags)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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.