avilash / TikTokAPI-Python

TikTok API Python Wrapper
http://avilashkumar.com/TikTokAPI-Python/
MIT License
443 stars 114 forks source link

Question: structure of results #5

Open ingo-m opened 4 years ago

ingo-m commented 4 years ago

Great project, thanks for making it available!

I noticed that when requesting video metadata by username, using getVideosByUserName(), the results have a different structure than when requesting by hashtag, using getVideosByHashTag(). For example, the key for author information is author for the former, and authorInfos for the latter.

I was wondering, is this difference caused by tiktok itself? Is there a way to adjust this (other than parsing the results afterwards)?