iwatkot / py3xui

Sync and Async Object-oriented Python SDK for the 3x-ui API.
MIT License
29 stars 4 forks source link

How to get URL to connect for new client ?? #29

Closed F0restonn closed 5 days ago

F0restonn commented 5 days ago

api.client.get_by_email('email') doesnt have any operator to get URL

github-actions[bot] commented 5 days ago

Thank you for opening an issue!
Please, first check our FAQ section in discussions to see if your question has already been answered.
You can also use Discussion if you have any questions or suggestions, while the Issues section is for bug reports and feature requests.
If you want to proceed with the issue, please provide the following information:
- Description of the issue
- Expected behavior
- Actual behavior
- Steps to reproduce the issue
- Python version
- OS
- py3xui version
- 3x-UI version
- Code snippet or a minimal example to reproduce the issue (if applicable)
- JSON representation of the request to the API (if applicable)

Thank you!

iwatkot commented 5 days ago

@F0restonn, hey!

I guess you're talking about the connection string (along with the QR code)?

Here's the reference for the VLESS:

image

I highlighted the most important parameters; others may vary, and also, for different protocols, they can be different. The easiest approach for your case - is to generate it from the panel and investigate.

Sincerely