Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Client' object has no attribute 'clip_upload_as_reel_with_music' #139

Open
itz-danish opened this issue Feb 5, 2025 · 0 comments

Comments

@itz-danish
Copy link

Description

I attempted to use clip_upload_as_reel_with_music() in aiograpi, but I encountered the following error:

AttributeError: 'Client' object has no attribute 'clip_upload_as_reel_with_music'

Steps to Reproduce

  1. Installed aiograpi using:

pip install aiograpi

  1. Used the following code snippet:

from aiograpi import Client

client = Client()
client.login("trade.with.sumit", "danish")

client.clip_upload_as_reel_with_music(
path="reel.mp4",
caption="Test caption",
audio_id="18462251209012169" # music_canonical_id of the song also used audio_cluster_id as well as audio_asset_id
)

  1. Ran the script and received the error mentioned above.

Expected Behavior

The function should correctly upload a reel with the specified music track.

Actual Behavior

An AttributeError occurs, indicating that the function does not exist.

Possible Causes

The function may be missing or not implemented yet in the current version.

The documentation might need updating to reflect the correct method for uploading reels with music.

Environment Details

OS: (Windows 10 64 bit)

Python Version: python 3.11.8

aiograpi Version: 0.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant