Moceansdk

Latest version: v1.1.4

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.4

What's Changed
* Update future requirement from ~=0.18.2 to >=0.18.2,<1.1.0 by dependabot in https://github.com/MoceanAPI/mocean-sdk-python/pull/28
* Downgrading urllib3 requirement to "<2" in order to cater for OpenSSL 1.0.2k-fips on RHEL7 machines

**Full Changelog**: https://github.com/MoceanAPI/mocean-sdk-python/compare/v1.1.3...v1.1.4

1.1.3

Change Log

* Drop support for Python <= 3.7
* Added support for Python 3.10, 3.11, and 3.12
* Dependency updates

What's Changed
* Upgrade to GitHub-native Dependabot by dependabot-preview in https://github.com/MoceanAPI/mocean-sdk-python/pull/14
* Update requests-mock requirement from <1.9,>=1.6 to >=1.6,<1.10 by dependabot in https://github.com/MoceanAPI/mocean-sdk-python/pull/15
* Updating mock request testing method by tzhongyan in https://github.com/MoceanAPI/mocean-sdk-python/pull/16
* Update requests requirement from <2.26,>=2.20 to >=2.20,<2.27 by dependabot in https://github.com/MoceanAPI/mocean-sdk-python/pull/17
* Version bump and dependency updates by tzhongyan in https://github.com/MoceanAPI/mocean-sdk-python/pull/27

New Contributors
* dependabot made their first contribution in https://github.com/MoceanAPI/mocean-sdk-python/pull/15

**Full Changelog**: https://github.com/MoceanAPI/mocean-sdk-python/compare/v1.1.2...v1.1.3

1.1.2

Example usage:
py
from moceansdk.modules.command.mc import McBuilder, Mc
telegram_text = Mc.tg_send_text.from("bot_username").to("chat_id").content("hello world")
mc_builder = McBuilder().add(telegram_text)
res = mocean.command.execute({
"mocean-command": mc_builder
})


For more usage please refer to [Mocean API doc](https://moceanapi.com/docs/#overview-5).

1.1.0

Example Usage:
python
from moceansdk import McBuilder, Mc

mc_builder = McBuilder() \
.add(Mc.say('for english please press 1')) \
.add(Mc.collect('https://test.com/collect')) \
.add(Mc.sleep(2000)) \
.add(Mc.bridge('60123456789')) \
.add(Mc.play('http://test.com/play'))

mocean.voice.call({
'mocean-to': '60123456789',
'mocean-command': mc_builder
})


Hangup Example:
python
mocean.voice.hangup('xxx-xxx-xxx-xxx') call-uuid


Recording Example:
python
recording = mocean.voice.recording('xxx-xxx-xxx-xxx') call-uuid

save to file
with open(recording.filename, 'wb') as file:
file.write(recording.recording_buffer)

1.0.2

- Fix pricing and sms api not working for json response 35e90feda974be7c15c3712db235086a3632bbfa

1.0.1

- Fix account module error 2df6a0768e8445ebfb5c9f885f58e64e426e9d93

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.