Skip to main content

A neko sama API

Project description

⚠️ I'm not maintaining this anymore. As of 10/10/2023, the API still seems to work, but you might expect errors or bugs in the future.

NEKO SAMA API

An API that scraps the neko-sama.fr website. Is able to search, fetch and download animes.

Supports different video qualities and providers.

License: MIT - See the LICENSE file.

Usage

Simple script to download all the episodes of an anime.

import nekosama as ns

anime = ns.Anime('https://neko-sama.fr/anime/info/9520-tensei-shitara-slime-datta-ken_vostfr')

anime.download('slime/', quality = ns.quality.HALF)

It can also be used to search for animes on the website.

import nekosama as ns

client = ns.Client()
slimes = client.search('slime datta ken',
                       lang = 'VOSTFR')

An example can be found in the main.py file.

Setup

  • Use python 3.11 or higher
  • Install using pip: pip install nekosama
  • Optionally, install FFMPEG to your system.

Docs

A simple documentation is available here. For more information, see docstrings and source code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nekosama-3.2.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

nekosama-3.2-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page