Forum Settings
Forums
New
Oct 14, 2016 8:29 PM
#1
Offline
Jul 2012
3
Do you want the Anime? Manga? Visual Novels? Light Novels? PyMoe is all these things and nothing but Otaku culture in pure, python 3 goodness. Multiple imports? Get out of here, just import Pymoe. Supporting most major sources for these things (Anilist and Anidb on the way), you won't have to go anywhere else for your Python Anime/Manga/LN/VN needs.

So yeah I made this. It's Python 3 only, but it's a modular interface to popular Anime/Manga/LN/VN sites that you can use in your code. Has a github and documentation online. Easy to use (I think, but most developers think their code is easy).

Github: https://github.com/ccubed/PyMoe
Docs: http://pymoe.rtfd.io/

Thanks for checking it out.
Reply Disabled for Non-Club Members
Dec 22, 2016 3:40 PM
#2
Offline
Dec 2016
1
Could you provide more examples on how to use PyMoe? I'm trying to add an anime to my list, I can delete, I could update, but I can't add without it giving a "no status defined" error. How do I do that?

Thanks!
Dec 24, 2016 8:42 PM
#3
Offline
Jul 2012
3
blooxpert said:
Could you provide more examples on how to use PyMoe? I'm trying to add an anime to my list, I can delete, I could update, but I can't add without it giving a "no status defined" error. How do I do that?

Thanks!


Hey sorry, I've been a little under the weather and just saw this. So here's a quick example to add bleach the anime for instance.

from Pymoe import Mal
a = Mal("YourUsername", "YourPassword")
b = a.anime.search("Bleach")[0] # The first item in this list is always Bleach the Anime ID 269
b.status.user = "Currently Watching" # Make sure you set the user's status before trying to add (That's why you get no status defined)
a.anime.add(b) # Will return True (As it successfully added Anime 269 to the user's list as currently watching)


You could have also set a current episode with
b.episodes.current=<yourNumberHere>
if you wanted.
Jan 1, 2017 11:21 AM
#4
Offline
Mar 2010
10
I am just getting started with a Python-based app that will hopefully work with the MAL (and the others too) API. Looks like you might be saving me a ton of time. Thanks!

Also glad to see someone else on the Python3 bandwagon. Sick of seeing all these "modern" packages that only support 2.7
Reply Disabled for Non-Club Members

More topics from this board

» [discontinued] I made a webapp to compare plan-to-watch lists

daux - Apr 16, 2022

33 by daux »»
Oct 2, 4:17 PM

» Requesting additional authorizations

SomeNewGuy - Aug 18

1 by ZeroCrystal »»
Aug 22, 8:31 AM

» Scraping from HTML suggested rate

Davenzo - Jan 8, 2023

4 by 7k72 »»
Jun 23, 6:35 AM

» Accessing Many Users' List

loukylor - Jun 11

0 by loukylor »»
Jun 11, 3:07 PM

» Caching strategy to avoid making additional API calls

Jakuten - Jun 3

4 by Jakuten »»
Jun 8, 11:30 AM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login