Code Monkey home page Code Monkey logo

clubhouse-py's Issues

Can't enter the room

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?

req.json() is a weak point

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.

Signup error - Method "GET" not allowed

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)
  1. 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)')))

  2. 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

Is there any option to sign-up using invite code?

 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'```

How can i invite someone?

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?

Kick from channel feature

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?

Profile pic upload

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?

/get_event example?

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.

The room not available

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.

More rooms

Hello, is it possible to see more rooms. Like next page etc?

Is it possible to get ban by sending requests to same endpoint repeatedly in range of 5-7 seconds?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.