[INSTALLATION] - AttributeError: type object 'TikTokApi' has no attribute 'get_instance'
See original GitHub issueDescribe the bug
AttributeError: type object ‘TikTokApi’ has no attribute ‘get_instance’
The buggy code
Please insert the code that is throwing errors or is giving you weird unexpected results.
api = TikTokApi.get_instance()
Expected behavior
get an api object
Error Trace (if any)
Put the error trace below if there’s any error thrown.
Traceback (most recent call last):
File "tiktok.py", line 15, in <module>
api = TikTokApi.get_instance()
AttributeError: type object 'TikTokApi' has no attribute 'get_instance'
Desktop (please complete the following information):
- OS: MacOS Sierra
- TikTokApi Version - 3.8.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
TikTokApi has no atrribute get_instance - Stack Overflow
I am trying to run some python code for several examples of TikTokApi but I always have the same error, TikTokApi has no...
Read more >type object 'tiktokapi' has no attribute 'get_instance' - You.com
I get this error when running for the first time "AttributeError: type object 'TikTokApi' has no attribute 'get_instance'". Downloaded tiktok api and did...
Read more >Unofficial TikTok API in Python - TikTokApi · PyPI
Unofficial TikTok API in Python. This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call...
Read more >AttributeError: 'TikTokApi' object has no attribute 'width'
I'm trying to use the library TikTokApi to download TikTok data but when I call any method, it throws: AttributeError: 'TikTokApi' object has...
Read more >8.3 Investigating the skew sensitivity of shell elements
skewExample.py This script performs a parameter study of element type versus skew angle. For more details, see Problem 2.3.4 in the Abaqus Benchmarks...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
get_instance()
, should no longer be used. Just useTikTokApi()
, same format as examples in readmeDo you have the TikTokApi-pyppeteer package installed?
Run
Then