Skip to main content

Sinnia IG Fetching Tools

Project description

Sinnia IG Fetcher

To publish changes to this library in PyPi: Edit the version in

first time?

'python3 -m pip install --upgrade build' 'python3 -m pip install --user --upgrade twine'

'python3 -m build' 'python3 -m twine upload dist/sinnia_*' Auth must have been configured in $HOME/.pypirc

Depend on this package: instagram-login-app

Using Instagram Graph API and Instagram Basic Display API


For Businesses (Instagram Graph API):

  • Get Media
  • Get Competitors Media
  • Get Top Media in Hashtag

For Basic Users (Instagram Basic Display API):

  • Get Media


from ig.get_business_media import BusinessMediaFetcher from ig.get_business_competitors_media import CompetitorsMediaFetcher from ig.get_hashtag_media import HashtagsMediaFetcher from ig.get_user_media import UserMediaFetcher

fetcher = BusinessMediaFetcher() data_found = fetcher.process_business_media(db_connection, business_ig_id, access_token)

fetcher = CompetitorsMediaFetcher() data_found = fetcher.process_competitors_media(db_connection, business_ig_id, competitor_name, access_token)

fetcher = HashtagsMediaFetcher() data_found = fetcher.process_hashtags_media(db_connection, business_ig_id, hashtag, access_token)

fetcher = UserMediaFetcher() data_found = fetcher.process_user_media(db_connection, user_ig_id, access_token)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sinnia_ig_fetcher-0.2.15.tar.gz (20.2 kB view hashes)

Uploaded source

Built Distribution

sinnia_ig_fetcher-0.2.15-py3-none-any.whl (40.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page