/gosms

A client library for the Restful APIs of https://www.sms.ir

Primary LanguageGoMIT LicenseMIT

GOSMS

Build Status codecov Go Report Card GoDoc GitHub tag (latest SemVer) License: MIT

A Golang client library over the Restful APIs of 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
  • GetToken
  • 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
  • VerificationCode
  • 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.