Package: shutterstock-analysis
shutterstock_analysisThe internet's first python package supports analyzing the Shutterstock public data, which helps creators optimize their creative portfolio and earn more income with less effort.shutterstock_analysisrelies on public APIs, similar to how you use the web browser to access Shutterstock service to provide you the underlay insights. It isFREEand hasNO LIMITATIONS.You can support this project on Patreon (or Momo in Vietnam) based on how you feel it is helpful. Scroll the end of this page for more details.II. REFERENCES2.1. How to use this package?Install the stable version:pip install shutterstock_analysisYou can install the latestshutterstock_analysisversion from source with the following command:pip install git+https://github.com/thinh-vu/shutterstock_analysis.git@main(*) You might need to insert a!before your command when running terminal commands on Google Colab.To start using functions, you need to import them:from shutterstock_analysis import *2.2. Function referencesYou can also read the function suggestion on your IDE which loads the documentation from the doc string. It's fairly simple, trust me!2.2.1. Image searchGet image search results from multiple Shutterstock result pages:search_df = image_search('ha giang', page_limit=10)Get bulk photos details:bulk_photo_detail = bulk_photo_detail(search_df, limit=100)2.2.2. Creative video searchAlthough the data for the Editorial video is available, I decided to skip that option since it's not practical for my use case. Do feel free to develop it on your own if it's needed.Get video search results from multiple Shutterstock result pages:search_df = image_search('ha giang', page_limit=10)Get bulk videos details:bulk_photo_detail = bulk_photo_detail(search_df, limit=100)2.2.3. Export data:This is the simplest way to export data from python to a CSV file which you can analyze easily either with Excel or Google Sheets.Export search results:search_df.to_csv('YOUR_PATH_TO_FILE.csv', index=False)Export photo details:bulk_photo_detail.to_csv('YOUR_PATH_TO_FILE.csv', index=False)LimitationsSupport photo and video searches:Photo Search (Non-Editorial and Editorial)Video Creative Search. Skip Editorial Video search.Need to avoid abusing the API, which might lead to the service provider blocking the bot traffic.III. APENDICESPhoto search query structure:Default photo searchhttps://www.shutterstock.com/_next/data/abgKsgPYfFDoIqIr0JlX0/en/_shutterstock/search/ha-giang.json?image_type=photo&term=ha-giangDefault Search UI:Advanced photo searchhttps://www.shutterstock.com/_next/data/abgKsgPYfFDoIqIr0JlX0/en/_shutterstock/search/ha-giang.json?image_type=photo&term=ha-giang&page=2&&contributor=Big+Pearl&category=Nature&sort=newest&release=editorial&mreleased=true&exclude=car%2C+bike&artistsInclude=VN&authentic=trueAdvanced Search UIVideo creative search query structureDefault Video searchhttps://www.shutterstock.com/_next/data/qaf5FoOwtgZ0aXCZ3JlVY/en/_shutterstock/video/search/ha-giang.json?term=ha-giangAdvanced Video Creative searchhttps://www.shutterstock.com/_next/data/qaf5FoOwtgZ0aXCZ3JlVY/en/_shutterstock/video/search/ha-giang.json?term=ha-giang&page=2&sort=newest&res=4k&aspect_ratio=16%3A9&duration=0-90&fps=30&mreleased=true&people_number=2&contributor=bui+minh+vu&artistsInclude=VN&exclude=car%2C+bike&release=editorial&category=Nature&safe=offIV. 🙋‍♂️ CONTACT INFORMATIONYou can contact me at one of my social network profiles:If you want to support my open-source projects, you can "buy me a coffee" viaPatreonor Momo e-wallet (VN). Your support will help to maintain my blog hosting fee & to develop high-quality content.