https://github.com/aaronsegura/nctalk
Client library for NextCloud Talk
https://github.com/aaronsegura/nctalk
nextcloud nextcloudtalk python3 spreed unofficial
Last synced: about 1 month ago
JSON representation
Client library for NextCloud Talk
- Host: GitHub
- URL: https://github.com/aaronsegura/nctalk
- Owner: aaronsegura
- License: gpl-3.0
- Created: 2022-04-26T15:35:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T10:34:33.000Z (over 1 year ago)
- Last Synced: 2025-03-13T11:32:08.975Z (over 1 year ago)
- Topics: nextcloud, nextcloudtalk, python3, spreed, unofficial
- Language: Python
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Nextcloud Talk Client Module
### DEPRECATED
This project is deprecated in favor of [aaronsegura/nextcloud-async](https://github.com/aaronsegura/nextcloud-async)
-----
######
This project is not endorsed or recognized in any way by the NextCloud project.
This is a work-in-progress and is being updated with reckless abandon. You should
not be using this project yet.
https://nextcloud-talk.readthedocs.io/en/latest/
Example:
>>> nct = NextCloudTalk(endpoint=endpoint, user=user, password=password)
>>> nct.capabilities
['audio', 'video', 'chat-v2', 'conversation-v4', 'guest-signaling', 'empty-group-room',
'guest-display-names', 'multi-room-users', 'favorites', 'last-room-activity', 'no-ping',
'system-messages', 'delete-messages', 'mention-flag', 'in-call-flags',
'conversation-call-flags', 'notification-levels', 'invite-groups-and-mails',
'locked-one-to-one-rooms', 'read-only-rooms', 'listable-rooms', 'chat-read-marker',
'webinary-lobby', 'start-call-flag', 'chat-replies', 'circles-support', 'force-mute',
'sip-support', 'chat-read-status', 'phonebook-search', 'raise-hand', 'room-description',
'rich-object-sharing', 'temp-user-avatar-api', 'geo-location-sharing',
'voice-message-sharing', 'signaling-v3', 'publishing-permissions', 'clear-history',
'direct-mention-flag', 'notification-calls', 'conversation-permissions',
'chat-reference-id']
>>> conversations = nct.conversation_list()
>>> for c in conversations:
... print(c.token, c.displayName, c.description)
...
23pw7aud Work Chat None
jit4tk78 Family Chat None
6rsa4brg Talk updates ✅ None
3vkymk5m Test public room None
>>> message = conversations[0].send(message='hello')
>>> print(message['id'])
'4387'
Alternatively, log in with HTTPBasicAuth:
>>> auth = HTTPBasicAuth('user', 'password')
>>> nct = NextCloudTalk(endpoint=endpoint, auth=auth)