Sharing
            Sharing(api, subsonic)
  Class that contains all the methods needed to interact with the sharing endpoints in the Subsonic API.
Source code in .venv/lib/python3.11/site-packages/knuckles/_sharing.py
                  
                
          create_share(songs_ids, description=None, expires=None)
  Create a new share.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| songs_ids | list[str] | A list that holds the IDs of all the songs that the share can give access to. | required | 
| description | str | None | A description to be added with the share. | None | 
| expires | datetime | None | A timestamp that marks when the share should be invalidated. | None | 
Returns:
| Type | Description | 
|---|---|
| Share | An object that holds all the info about the requested share. | 
Source code in .venv/lib/python3.11/site-packages/knuckles/_sharing.py
            
          delete_share(share_id)
  Delete a share from the server.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| share_id | str | The ID of the server to delete. | required | 
Returns:
| Type | Description | 
|---|---|
| Subsonic | The Subsonic object where this method was called to allow method chaining. | 
Source code in .venv/lib/python3.11/site-packages/knuckles/_sharing.py
            
          get_share(share_id)
  Get all the info about a share.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| share_id | str | The ID of the share to get its info. | required | 
Returns:
| Type | Description | 
|---|---|
| Share | None | An object that holds all the info about the requested share. | 
Source code in .venv/lib/python3.11/site-packages/knuckles/_sharing.py
            
          get_shares()
  Get all the shares manageable by the authenticated user.
Returns:
| Type | Description | 
|---|---|
| list[Share] | A list that holds all the info about all the shares manageable by the user. | 
Source code in .venv/lib/python3.11/site-packages/knuckles/_sharing.py
            
          update_share(share_id, new_description=None, new_expires=None)
  Update the info of a share.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| share_id | str | The ID of the share to update. | required | 
| new_description | str | None | A new description to be added to the share. | None | 
| new_expires | datetime | None | A new expire timestamp for the share. | None | 
Returns:
| Type | Description | 
|---|---|
| Share | An object that holds all the new updated info for the share. |