Download the PHP package ampahkwabena/ice-and-fire without Composer
On this page you can find all versions of the php package ampahkwabena/ice-and-fire. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ampahkwabena/ice-and-fire
More information about ampahkwabena/ice-and-fire
Files in ampahkwabena/ice-and-fire
Download ampahkwabena/ice-and-fire
More information about ampahkwabena/ice-and-fire
Files in ampahkwabena/ice-and-fire
Vendor ampahkwabena
Package ice-and-fire
Short Description IceOnFire_Package is php package wrapper for accessing https://anapioficeandfire.com/
License MIT
Package ice-and-fire
Short Description IceOnFire_Package is php package wrapper for accessing https://anapioficeandfire.com/
License MIT
Please rate this library. Is it a good library?
Informations about the package ice-and-fire
Ice & Fire PHP Package
Overview
IceOnFire is php package wrapper for accessing AnApiOfIceAndFire.
Installation
The current production release of A-song-of-ice-and-fire-API is available through Composer:
Usage
API
Characters
getCharacterByID
- Accepts: A string or number representing a character ID.
- Returns: An object containing the character's properties if the character exists.
getCharacterByName
- Accepts: A string representing full name of the character.
- Returns: An array of objects containing all the characters with given name.
getCharactersByCulture
- Accepts: A string representing the culture of Character.
- Returns: An array of objects containing all the characters with given culture.
getCharactersByGender
- Accepts: A string representing the gender of Character.
- Returns: An array of objects containing all the characters with given gender.
getAllCharacters
- Returns: An array of objects containing all the characters.
Houses
getHouseByID
- Accepts: A string or number representing a house ID.
- Returns: An object containing the house's properties if the house exists.
getHouseByName
- Accepts: A string representing full name of the house.
- Returns: An array of objects containing all the houses with given name.
getHouseByRegion
- Accepts: A string representing the region of the house.
- Returns: An array of objects containing all the houses with given region.
getHouseByWords
- Accepts: A string representing the words/saying of the house.
- Returns: An array of objects containing all the houses with given words/saying.
getAllHouses
- Returns: An array of objects containing all the houses.
Books
getBookByID
- Accepts: A string or number representing a book ID.
- Returns: An object containing the book's properties if the book exists.
getBookByName
- Accepts: A string representing full name of the book.
- Returns: An array of objects containing all the books with given name.
getAllBooks
- Returns: An array of objects containing all the books.
FUN
getRandomCharacter
- Returns: An object containing the properties of a random character.
getRandomHouse
- Returns: An object containing the properties of a random house.
getRandomCharacterOfHouse
- Accepts: A string representing full name of the house.
- Returns: An object containing the properties of a random character from the given house
All versions of ice-and-fire with dependencies
PHP Build Version
Package Version
The package ampahkwabena/ice-and-fire contains the following files
Loading the files please wait ....