Skip to content

The-Hunter-Oraganization/anime-info-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anime API

Introduction

The Anime API is a RESTful web service built with Flask and Python. It allows users to retrieve information about anime using the AniList GraphQL API. The API provides endpoints to fetch anime details, such as title, synopsis, poster, genres, episodes, duration, start date, end date, and average score.

Features

  • Retrieve anime information by ID
  • Fetch anime details including title, synopsis, poster, genres, episodes, duration, start date, end date, and average score

Requirements

  • Python 3.7 or above
  • Flask
  • Requests

Installation

  1. Clone the repository: git clone https://github.com/soheru/anime-api.git
  2. Navigate to the project directory: cd anime-api
  3. Install the dependencies: pip install -r requirements.txt

Usage

  1. Start the Flask server: python app.py

  2. Access the API documentation at: http://localhost:5000

  3. Use the following endpoint to retrieve anime information:

    GET /anime/info/{anime_id}

    Replace {anime_id} with the ID of the anime you want to fetch.

Example

To retrieve information about an anime with ID 123:

Documentation

The API documentation provides detailed information about the endpoints and their usage. It can be accessed by visiting the root URL http://localhost:5000 when the server is running.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any inquiries or suggestions, please contact Soheru.

Releases

No releases published

Packages

 
 
 

Contributors