Skip to content

Releases: DeveloperZelentsov/OnlineSimAPI

v.1.0.1

01 Apr 15:45

Choose a tag to compare

We are proud to announce the first release of OnlineSimApi, a Swift library that provides a convenient and easy-to-use interface for the OnlineSim API. This library allows you to integrate OnlineSim services into your Swift projects effortlessly.

In this release, we have implemented all the essential methods to interact with the OnlineSim API, providing comprehensive functionality to manage and control your virtual phone numbers. Alongside these methods, we have also included test cases to ensure the reliability and stability of the library.

The following methods are available in the IOnlineSimApi protocol, which can be accessed through the OnlineSimApi class:

getBalance()
getNumbersStats(country: GetStatsCountry?)
getNumber(with request: GetOnlineSimNumberRequest)
getState(with request: GetOnlineSimStateRequest)
setOperationRevise(with request: SetOperationReviseRequest)
setOperationOk(with request: SetOperationOkRequest)
waitForCode(operationId: Int, attempts: Int, setStatusAfterCompletion: Bool)
Test Cases
To ensure the functionality and reliability of the library, we have created test cases for each method. These tests use a custom MockURLProtocol class to simulate the API responses, allowing us to verify that each function is