stypr / clubhouse-py Goto Github PK
View Code? Open in Web Editor NEWClubhouse API written in Python. Standalone client included. For reference and education purposes only.
Home Page: https://pypi.org/project/clubhouse-py/
License: MIT License
Clubhouse API written in Python. Standalone client included. For reference and education purposes only.
Home Page: https://pypi.org/project/clubhouse-py/
License: MIT License
Hi, thanks for the work. After I launched the client and authorized by sms code and tried to enter a particular room the following error occurred:
zsh: killed python3 cli.py
I think it has to do with permissions. Can you help?
I really don't like the part with
req = requests.post(smth)
return req.json()
It can cause so many problems, server can return 50* and it will break .json() method, server can theoretically return "bad" json and so on.
What do you think about idea to at least start validating response headers, or (better!) check if server response is a correct JSON. I can make a PR if you approve the idea.
python3 cli.py
1 )In docker with different version of python (3.6, 3.7, 3.8, 3.9). I don't understand why it's happening - because it's requests.post
request :
Please enter your phone number. (+818043217654) > +79099028132
{'detail': 'Method "GET" not allowed.'}
[-] Error occured during authentication. (None)
On OSX 11, using python3.9 I'm getting HTTPSConnectionPool(host='www.clubhouseapi.com', port=443): Max retries exceeded with url: /api/start_phone_number_auth (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
On OSX using app for requests, like - Insomnia - all working fine.
Anyone have thoughts why it may happen with python? I tried installing requests[security]
- but it's didn't helped either
Since AgoraIO-Community/Agora-Python-SDK#1 and Agora is a main dep.
Any plans to support Linux somehow ?
python3 cli.py
[.] Please enter your phone number. (+818043217654) > +12345678900
[.] Please enter the SMS verification code (1234, 0000, ...) > 0000
[.] Writing configuration file complete.
[!] You're still on the waitlist. Find your friends to get yourself in.
Traceback (most recent call last):
File "/Users/tandav/Desktop/clubhouse-py/cli.py", line 326, in <module>
main()
File "/Users/tandav/Desktop/clubhouse-py/cli.py", line 323, in main
main()
File "/Users/tandav/Desktop/clubhouse-py/cli.py", line 319, in main
chat_main(client)
File "/Users/tandav/Desktop/clubhouse-py/cli.py", line 150, in chat_main
print_channel_list(client, max_limit)
File "/Users/tandav/Desktop/clubhouse-py/cli.py", line 83, in print_channel_list
channels = client.get_channels()['channels']
KeyError: 'channels'```
I saw some functions with invite and comment: " Invite users to app. but this only works when you have a leftover invitation.".
So what I need to do?
Hi
When i use complete_phone_number_auth i got this error:
{'success': False, 'error_message': 'Invalid request.'}
After last update to clubhouse-py-304.0.1 ImportError
Is there any possibility to kick a user from a channel but allow him to rejoin? Or maybe is there any list of blocked users related to the channel?
Is there any method to get the whole list with users who raised a hand?
Is there currently a way to upload and update a profile pic? If so - do we need to upload it to a certain S3 bucket, or which API requests are available for this?
If it's not yet implemented - are you planning on doing so?
Hello!
Can anyone explain how /get_event method works? Let's say I have a link to event: https://www.joinclubhouse.com/event/abcdef
I am trying to get link to the room from that event (yes, the event has already started and room exists). I thought that abcdef is an event_id, but calling .get_event(event_id='abcdef') returns 500 error from server.
Hey! I try to connect to room with channel name from the link, but get that message:
{'success': False, 'error_message': 'That room is no longer available ๐๐ผ\nTry starting a new one instead?'}
And my friends with iOS can get access to that room. I don't understand why it happened.
Hello, is it possible to see more rooms. Like next page etc?
Thank you for your work!
I want to make a auto-updating subscriber counter in my bio, like "now i have N subscribers". As README says:
Please note that you may get a permanent ban for sending invalid API requests. Server's ratelimit and security mechanisms are quite strict.
I just want to know it it's safe to do this. Have you ever been banned? If so, how often were the requests sent? I want to update my bio every 5-10 seconds. Is it safe?
I want to know that can it use on LInux because it based on Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.