Houseclub
Houseclub copied to clipboard
Support for sending invitations
fyi
Steps to reproduce
- Call suggested_invites with contact information (https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L880-L890)
- Invite user based on the suggested invites(https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L892-L903)
Note
- Do not mess up the steps
- The phone number should include the country code.
- Message can be empty.
fyi
Steps to reproduce
- Call suggested_invites with contact information (https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L880-L890)
- Invite user based on the suggested invites(https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L892-L903)
Note
- Do not mess up the steps
- The phone number should include the country code.
- Message can be empty.
Could you please make it as a pull request? I would like to download it
fyi Steps to reproduce
- Call suggested_invites with contact information (https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L880-L890)
- Invite user based on the suggested invites(https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L892-L903)
Note
- Do not mess up the steps
- The phone number should include the country code.
- Message can be empty.
Could you please make it as a pull request? I would like to download it
Sorry. Currently I am only explaining how the flow works. You can send a PR based on what I suggested here. I'm just here from clubhouse-py project to explain how flows work for each features
Можно подробней объяснить как это работает для не самых одарённых? Желательно на русском и по шагам что за чем делать, а то смотрю в код, а вижу фигу. Заранее спасибо
Можно подробней объяснить как это работает для не самых одарённых? Желательно на русском и по шагам что за чем делать, а то смотрю в код, а вижу фигу. Заранее спасибо
В прилржении такой функции нет. Доступно есть работать напрямую через неофициальный api на python
Можно подробней объяснить как это работает для не самых одарённых? Желательно на русском и по шагам что за чем делать, а то смотрю в код, а вижу фигу. Заранее спасибо
https://github.com/grvmind/clubhouse_inviter
how to find out how many invitations are left
fyi Steps to reproduce
- Call suggested_invites with contact information (https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L880-L890)
- Invite user based on the suggested invites(https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L892-L903)
Note
- Do not mess up the steps
- The phone number should include the country code.
- Message can be empty.
Could you please make it as a pull request? I would like to download it
Sorry. Currently I am only explaining how the flow works. You can send a PR based on what I suggested here. I'm just here from clubhouse-py project to explain how flows work for each features
how to find out how many invitations are left
how to find out how many invitations are left
with clubhouse-py like this:
clubhouse = Clubhouse(
user_id=user_id,
user_token=user_token,
user_device=user_device
)
print(clubhouse.me())
package me.grishka.houseclub.api.methods;
import me.grishka.houseclub.api.BaseResponse; import me.grishka.houseclub.api.ClubhouseAPIRequest; import me.grishka.houseclub.api.model.FullUser;
public class InviteToApp extends ClubhouseAPIRequest<BaseResponse> {
public InviteToApp(String name, String phone_number, String message){
super("POST", "invite_to_app", BaseResponse.class);
requestBody=new InviteToApp.Body(name, phone_number, message);
}
private static class Body{
public String name;
public String phone_number;
public String message;
public Body(String name, String phone_number, String message){
this.name=name;
this.phone_number=phone_number;
this.message=message;
}
}
}
Можно подробней объяснить как это работает для не самых одарённых? Желательно на русском и по шагам что за чем делать, а то смотрю в код, а вижу фигу. Заранее спасибо
https://github.com/grvmind/clubhouse_inviter
у вас должен быть учетка с инвайтами. тогда войдя в консоль вы можете отправить приглашение другим. уведомления они не получают но приглашение работают.
https://github.com/grishka/Houseclub/pull/154