Skip to content

Animeflv GQL is an alternative custom animeflv API that complements GraphQL for queries, you can access all the data and catalog of the animeflv.net website. You can enjoy all the content with Spanish subtitles and the latest in the anime world for free.

License

Notifications You must be signed in to change notification settings

ChrisMichaelPerezSantiago/animeflv-gql

Repository files navigation

🚩 Animeflv GQL (version 1.0.0)

node version npm version Maintenance License: MIT

Animeflv GQL is an alternative custom animeflv API that complements GraphQL for queries, you can access all the data and catalog of the animeflv.net website. You can enjoy all the content with Spanish subtitles and the latest in the anime world for free.


🔧 Developer usage

Reference to the Main Project

Set up project

Before cloning the repo be sure you have installed:

  • node (version >= 10.16.x)
  • npm (version >= 6.9.x)

Then:

  • Choose a folder project in your system and switch in cd [folder path]
  • Clone the repo in your folder path git clone git+https://github.com/ChrisMichaelPerezSantiago/animeflv-gql

📚 Development Diary

Describe the purpose of the project and give clues about what the code does. For more information go to the following link Diary Reference.

Query Documentation

animeServers([id])

To verify the id of each episode, look at the episodes property:

"episodes": [
  {
    "nextEpisodeDate": "2019-10-31"
  },
  {
    "episode": 1,
    "id": "53099/psychopass-3-1",
    "imagePreview": "https://cdn.animeflv.net/screenshots/3225/1/th_3.jpg"
  }
]
query{
  animeServers(id: "53099/psychopass-3-1"){
    server
    title
    allow_mobile
    code
  }
}

search([query])

query{
  search(query: "Tokyo Ghoul"){
    id
    title
    poster
    banner
    synopsis
    debut 
    type
    rating 
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

latestAnime

It will show N data per page , Total page unknown.

query{
  latestAnime{
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

latestEpisodes

It will show N data per page , Total page unknown.

query{
  latestEpisodes{
    id	
    title
    poster
    episode
    servers{
      server
      title
      allow_mobile
      code
    }
  }
}

genres([genre] , [sortBy] , [page])

GenresSortByPage
genres
accion infantil sobrenatural
artes-marciales josei superpoderes
aventura juegos suspenso
carreras magia terror
ciencia-ficcion mecha vampiros
comedia militar yaoi
demencia misterio yuri
demonios musica
deportes parodia
drama psicologico
ecchi recuentos-de-la-vida
escolares romance
espacial samurai
fantasia seinen
harem shoujo
historico shounen
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  genres(genre: "accion" , sortBy: "defaut" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

movies([sortBy] , [page])

SortByPage
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  movies(sortBy: "added" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

ova([sortBy] , [page])

SortByPage
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  ova(sortBy: "added" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

special([sortBy] , [page])

SortByPage
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  special(sortBy: "added" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

tv([sortBy] , [page])

SortByPage
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  tv(sortBy: "added" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

byState([state] , [order] , [page])

StatusSortByPage
state value
In emission 1
Finalized 2
coming soon 3
sortBy value
default anime order default
Recently Updated anime updated
Recently Added anime added
anime by Rating rating
anime by Title title
pages
[1 .. total page unknown]
query{
  byState(state: 1 , order: "default" , page: 1){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

animeCharacters([title])

This function is not yet stable, it may present an error in trying to return some characters. For now it is functional, but not quite stable.❗❗

If you use any API entry point you will see that the title property

"title": "Tokyo Ghoul"

for each anime will be available, you should take the value of the title and pass it to the query param.

query{
  animeCharacters(title: "Tokyo Ghoul"){
    character{
      id
      name
      image
      role
    }
  }
}

promo([title])

This function is not yet stable, it may present an error in trying to return some trailers. For now it is functional, but not quite stable.❗❗

To get the list of promo (trailers) for each anime, you must use the title property and pass it to the query as a parameter.

query{
  promo(title: "Tokyo Ghoul"){
    title
    previewImage
    videoURL
  }
}

animeInfo([id] , [title])

This function is not yet stable, it may present an error in trying to return some trailers. For now it is functional, but not quite stable.❗❗

To get the anime info of a particula anime, you must use the id and the title property and pass it to the query as a parameter.

For example:

"id": "anime/5226/tokyo-ghoul"
"title": "Tokyo Ghoul"
query{
  animeInfo(id: "anime/5226/tokyo-ghoul" , title: "Tokyo Ghoul"){
    id
    title
    poster
    banner
    synopsis
    debut
    type
    rating
    genres
    charactersList{
      character{
        id
        name
        image
        role
      }
    }
    promoList{
      title
     	 previewImage
      videoURL
    }
    moreInfo{
      titleJapanese
      source
      totalEpisodes
      status
      duration
      rank
      popularity
      members
      favorites
      premiered
      broadcast
      endingThemes
      openingThemes
      studios{
        names
      }
      licensors{
        names
      }
      producers{
        names
      }
      aired{
        from
        to
        string
      }
    }
    episodes{
      nextEpisodeDate
      episode
      id
      imagePreview
    }
  }
}

downloadLinksByEpsId([epsId])

The parameter you should use is the episode property that identifies the anime episode.

You will find it if you are looking for the episodes property

For Example:

"episodes": [
  {
    "nextEpisodeDate": null
  },
  {
    "episode": 12,
    "id": "28800/tokyo-ghoul-12",
    "imagePreview": "https://cdn.animeflv.net/screenshots/1415/12/th_3.jpg"
  },
  {
    "episode": 11,
    "id": "28459/tokyo-ghoul-11",
    "imagePreview": "https://cdn.animeflv.net/screenshots/1415/11/th_3.jpg"
  },
  // .....
]
query{
  downloadLinksByEpsId(epsId: "28800/tokyo-ghoul-12"){
    server
    url
  }
}

🤝 Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

👥 Credits


❤️ Show your support

Please ⭐ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.


🤖 Author

Chris Michael

You can follow me on github · twitter


Copyright © 2020 Animeflv GQL.

About

Animeflv GQL is an alternative custom animeflv API that complements GraphQL for queries, you can access all the data and catalog of the animeflv.net website. You can enjoy all the content with Spanish subtitles and the latest in the anime world for free.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published