Skip to main content

An async API wrapper for SocialGal written in Python.

Project description

socialgal.py

An async API wrapper for SocialGal written in Python.

Example

from asyncio import run  # anyio/trio also work

from socialgal import Client

async def main() -> None:
    async with Client(
        token="your_token",
        session="your_session_token",
    ) as client:
        print(await client.get_posts())

run(main())

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

socialgal-1.0.0a0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

socialgal-1.0.0a0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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