Unofficial API for animeforce.org.
Project description
What it is
anime-enforce is a small package that provides unofficial API for the animeforce.org Italian anime website. It is part of a bigger project and the reasons behind it are various. At the moment, it is only tested it with Python3.5+.
Features
Get full anime list.
Retrieve info and episodes from anime page.
Retrieve download link for a self-hosted episode.
More to come soon.
Quick start
Installation
anime-enforce can be installed using pip:
$ pip install -U anime-enforce
If you want to run the latest version of the code, you can install from Github:
$ pip install -U git+git://github.com/Kyraminol/anime-enforce.git
Usage
Warning: as this project is in early stage, API can change quite often. I’ll try to make sure this section stays update, so please check here when updating. Simple iteration through anime list, getting info and episodes:
from anime_enforce import Enforcer # API Wrapper
enforcer = Enforcer()
anime_list = enforcer.anime_list()
# Returns a list of Anime object, supports force_update=True argument
for anime in anime_list:
print(anime.name, anime.link)
print(anime.image_link())
print(anime.info())
# Both .image_link() and .info() support force_update=True argument
episode_list = anime.episode_list()
# Returns a list of Episode object, supports force_update=True argument
for episode in episode_list:
print(episode.name, episode.link)
episode_download_link = episode.download_link()
# Supports force_update=True argument
print("Download/Stream:", episode_download_link)
Issues
Given the early stage of the project, issues are not uncommon. Please check out the issue page for a matching issue, or open a new one.
You can reach me with the Contact section below, I’ll try to help whenever I can.
Contact
Telegram: https://t.me/Kyraminol (@Kyraminol)
Credits
anime-enforce is written and maintained by Kyraminol
I do not own animeforce.org, nor any anime or subs there.
Many thanks to the maintainers of these awesome projects:
And thanks to:
All anime subs teams, without them this wouldn’t exist.
Everyone who will contribute!
License
TODO: Write LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file anime-enforce-0.1.1.tar.gz
.
File metadata
- Download URL: anime-enforce-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e407ba6077c2ab3251dd342b2a1f1945b0fdb260d8065cb922330a15b1b22ca0 |
|
MD5 | 0503342e9337f39275bdc71340154124 |
|
BLAKE2b-256 | f333229eecc90ff60e0ccbad622868ede77f4fc82765eadb813ada745d0b5fe9 |