Skip to content

d4tdev/api-one-piece

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF-LUFFY

API One Piece

take info from api
web-scraped from https://onepiece.fandom.com/wiki/List_of_Canon_Characters

Get All Characters

GET: https://api-one-piece.cyclic.app/api/v1

Key Type
name String
chapter String
episode String
year String
link String (get one character)

Query Search

ex: https://api-one-piece.cyclic.app/api/v1?name=Sanj

Query Limit

ex: https://api-one-piece.cyclic.app/api/v1?limit=10

Query Page - Pagination

ex: https://api-one-piece.cyclic.app/api/v1?page=1

Get One Character

GET: https://api-one-piece.cyclic.app/api/v1/{name}

ex: https://api-one-piece.cyclic.app/api/v1/Sanji

Key Type
name String
images String
japanese name String
affiliations String
occupations String
origin String
residence String
alias String
epithet String
birth name String
status String
bounty String
devil fruit String
gallery String (get gallery)

Get Gallery From Character (if have)

GET: https://api-one-piece.cyclic.app/api/v1/{name}/Gallery

ex: https://api-one-piece.cyclic.app/api/v1/Sanji/Gallery