Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentence: Add async #123

Closed
Inzilkin opened this issue Jun 6, 2020 · 9 comments
Closed

Sentence: Add async #123

Inzilkin opened this issue Jun 6, 2020 · 9 comments

Comments

@Inzilkin
Copy link

Inzilkin commented Jun 6, 2020

Hello everyone who reads this issue. I would like to ask to add async to this api, I just have to copy corrections from the new commit to change my code and this is not very convenient. RapidApi also has a limitation in the basic version for requests, for this reason I can not use it. Thank you very much for reading my suggestion.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@davidteather
Copy link
Owner

You’re able to make multiple calls to the api at once. The rapid api I have is running flask and the library is able to handle multiple requests at once.

@Inzilkin
Copy link
Author

Inzilkin commented Jun 6, 2020

image

@davidteather
Copy link
Owner

I would like to ask to add async to this api

My point is that the library supports async and is able to handle multiple requests.

@Inzilkin
Copy link
Author

Inzilkin commented Jun 6, 2020

It's doesn't true :(
RuntimeError: Cannot run the event loop while another loop is running
sys:1: RuntimeWarning: coroutine 'browser.start' was never awaited

@Inzilkin
Copy link
Author

Inzilkin commented Jun 6, 2020

I'm starting in aiohttp and it's doesn't works.

@davidteather
Copy link
Owner

Run the following command what does it output

pip show TikTokApi

@Inzilkin
Copy link
Author

Inzilkin commented Jun 6, 2020

image

@davidteather
Copy link
Owner

#115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants