For code found in "joshAPI.jsx":
- API PROVIDER: CoinDesk from https://apipheny.io/free-api/
- WRITEUP CREDITED TO: Joshua Ramcharan
- API NAME: CoinDesk BPI
- API DOCUMENTATION: https://www.coindesk.com/
- API USAGE ON APPLICATION: Used for retreiving the full name and current bitcoin price within a certain currency, allowing for USD, EUR, and GBP
For code found in "thanemulAPI.jsx":
- API PROVIDER: jService from https://github.com/public-apis/public-apis
- WRITEUP CREDITED TO: Thanemul Islam
- API NAME: jService
- API DOCUMENTATION: https://jservice.io/
- API USAGE ON APPLICATION: Used for retreiving a random Jeopardy question that after user is done answering can click a button and view answer
API Provider: PokeAPI
API Name: PokeAPI
Screenshot of a successful API test in Postman:
API Documentation: PokeAPI Documentation
Description: PokeAPI is a comprehensive Pokémon database API that provides information about Pokémon species, abilities, and more.
Usage on Site:
- The "Pokemon" component utilizes this API to fetch and display Pokémon details based on user input.
- Encountered a type error in the Pokemon function while fetching data from the Pokemon API. The type error in the Pokemon function was related to the fact that the API request was being made with an empty or undefined pokemonName. To address this, implemented a conditional check (an if statement) to ensure that the API request is only made when a valid pokemonName is provided. (also doubles as instructions)
For code found in "F_API_Abdullah.jsx":
- API PROVIDER: Free Dictionary API from Google Search
- WRITEUP CREDITED TO: Abdullah Foysal
- API NAME: Free Dictionary API
- API DOCUMENTATION: https://dictionaryapi.dev/
- API USAGE ON APPLICATION: Used for retreiving a definition for an inputed word
For code found in "azmainAPI.jsx":
- API PROVIDER: Agify.io from https://apipheny.io/free-api/
- WRITEUP CREDITED TO: Azmain Hossain
- API NAME: Agify.io
- API DOCUMENTATION: https://agify.io/
- API USAGE ON APPLICATION: Used for retreiving a predicted age for an inputted name