Skip to main content

A wrapper for Instagram's API

Project description

hiinsta

A Python package for interacting with Instagram's messaging API.

Installation

pip install hiinsta

Usage

from hiinsta import InstagramMessenger

messenger = InstagramMessenger(access_token="YOUR_ACCESS_TOKEN")

# Example usage
message_id = await messenger.send_text("Hello, World!", recipient_id="RECIPIENT_ID")

print(message_id)

Development

To install in development mode:

git clone https://github.com/cervant-ai/hiinsta.git
cd hiinsta
pip install -e .

To install development dependencies:

pip install -e ".[dev]"

Testing

pytest
pip install -e ".[dev]"

Testing

pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

hiinsta-0.1.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hiinsta-0.1.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file hiinsta-0.1.1.tar.gz.

File metadata

  • Download URL: hiinsta-0.1.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hiinsta-0.1.1.tar.gz
Algorithm Hash digest
SHA256 da04fa7645ea66fdbd64dbb98356e84e9d9e236508dcac32cd974d0a52611fbc
MD5 fd25bf863271071a9f9c022b77da1edb
BLAKE2b-256 36a2667de0b1c50fe1a6d49c32b7f18199383d631787232a177611b6bc7df5ef

See more details on using hashes here.

File details

Details for the file hiinsta-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hiinsta-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hiinsta-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4c11ad81d071d89651a7d02acdea56062fbdb589dfb86d6a29afdcc97d17c4c
MD5 56002ffafa3fedb1a705fba91cb51e11
BLAKE2b-256 579eedb210745d5ffe343d0f52993daca24cef2b38c33031dc602db0a05560fc

See more details on using hashes here.

Supported by

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