s00d/onlinesim-python-api

GetNumbers.py , close function.

bralbral opened this issue · 1 comments

Good day!

Can you implement parameter "ban" for function close?

   GetNumbers.py  line 29
    def close(self, tzid: int):
        return self._get(f'/setOperationOk', {'tzid': tzid})

According documentation you can ban number after 5 min waiting.

Thanks!

s00d commented

Hello.
added ban

def ban(self, tzid: int):