MyManga

This object and my_anime.MyAnime should have a very close interface (except for volumes-chapters vs episodes). A basic object to obtain account specific data about a manga. Can manipulate the manga data in the account’s list.

class MyManga(mal_id: int, my_mal_id, account)

Saves an account data about manga.

Variables:
  • my_enable_discussion – boolean
  • my_id – int
  • my_status – int. #TODO: put the dictanary here.
  • my_score – int.
  • my_start_date – string as mmddyyyy.
  • my_end_date – string as mmddyyyy.
  • my_priority – int.
  • my_storage_type – int. #TODO: put the dictnary here.
  • my_is_rereading – boolean.
  • my_completed_chapters – int.
  • my_completed_volumes – int.
  • my_downloaded_chapters – int.
  • my_times_reread – int.
  • my_reread_value – int.
  • my_tags – frozenset.
  • my_comments – string
  • my_fan_sub_groups – string.
  • my_retail_volumes – int.
add(account)

Adding the anime to an account. If its the same account as this owner returning this.

Parameters:account (account.Account) – account to connect to the anime.
Returns:anime connected to the account
Return type:accounts_objects.MyManga.MyManga
delete()

Deleteing the anime from the list.

increase() → bool

Increasing the read chapters. If it is completed, setting the flag of rereading.

Returns:True if succeed to set every.
Return type:bool
increase_downloaded() → bool

Increasing the downloaded chapters.

Returns:True if succeed to set every.
Return type:bool
increase_volume() → bool

Increasing the read volumes. If it is completed, setting the flag of rereading.

Returns:True if succeed to set every.
Return type:bool
is_completed
Returns:True if the number of completed chapters is equal to number of chapters in manga.
Return type:bool
my_id
Returns:the id in the account.
Return type:int
my_reload()

Reloading data from MAL.

set_completed() → bool

Setting the anime as completed.

Returns:True if succeed
Return type:bool
set_completed_download() → bool

Setting the number of downloaded chapters as completed.

Returns:True if succeed
Return type:bool
to_xml()
Returns:the anime as an xml string.
Return type:str
update()

Updating the anime data.