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.2.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.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hiinsta-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 82268585ad3945f09bccf81530670981fa17ff6c66d87fc05179f5ff8bbc3bdf
MD5 618ca0c6aed32821e1b9244b96f3ab05
BLAKE2b-256 bb6900460b391ac12be441553e1f28aa67e219ff1158791e4eb5574ba37f7c52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hiinsta-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6a85d1c38d82d3a13bb8ebfaed575701fe1394e2f8a135f7804380f44daf4e
MD5 fc570ed1ebd2c13bf0a49540781a96cb
BLAKE2b-256 2e733348cea80febf4c1129d685146131fb77fd89bfd4167872265a2258c591f

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