Git Product home page Git Product logo

animeavatar's Introduction

ainme list avatars Logo

AnimeAvatar

AnimeAvatar is a open project web API that return an avatar image (225,225)Px based on your name and gender, and anime name, this API is taking image from animelist.

Installation

To install and run the project

  cd BackEnd
  npm install 
  npm start

API Reference

Get Your avatar image

  GET /api/avatar?name=${_name}&gender=${_gneder}&animeName=${_anime}
Parameter Type Description
_name string optional: Your Name
_gender string optional: Your Gender (male || female)
_anime string optional: what anime you wnat choose from it

That will return image for you.

PS: If you didn't set any of the above variables it will chose randome value for evry unseted variables.

Get all available anime

  GET /api/animelist/

This will return a JSON in this format :

  {
    "animeList" : [
       {
          "value": "Naruto_Shippuuden",
          "label": "Naruto Shippuuden"
       },
       {
          "value": "One_Piece",
          "label": "One Piece"
        },
        {
          "value": "One_Punch_Man",
          "label": "One Punch Man"
        }
      ],
    "numberOfAanime": 3
  }

Add new Anime to the project

You can add any anime you whan't to the repo using the /scrapping/scrapper.py file you just need to set url and storage variables

Exemple

    url = 'https://myanimelist.net/anime/1735/Naruto__Shippuuden/characters'
    storage  = '../anime/Naruto_Shippuuden'
    you can get the url variable from animelist.net
    and change Naruto_Shippuuden by name of the anime in storage variable

Ps : The script can download just 1000 image in day because it's use the api.genderize.io that is limited in 1000 request in day to select the gender of images.

License

MIT

Authors

animeavatar's People

Contributors

kirwako avatar benlyazid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.