Welcome to Random-API, a collection of mini tools utilizing various APIs to provide random data and fun interactions. This project showcases how to integrate different public APIs into a single website using only HTML and JavaScript.
To get started with this project, simply clone or download the repository and open the index.html
file in your web browser.
git clone https://github.com/ThisIs-Developer/Random-API.git
cd Random-API
UI 🌐 Live View
This project integrates the following APIs using JavaScript:
-
Cat Facts API
- URL: Cat Facts
- Provides random cat facts.
-
Bored API
- URL: Bored API
- Suggests random activities to cure boredom.
-
Dog CEO API
- URL: Dog CEO
- Provides random dog images.
-
Official Joke API
- URL: Official Joke API
- Returns random jokes.
-
Hindi Jokes API
- URL: Hindi Jokes API
- Supplies random Hindi jokes.
-
API Ninjas Password Generator
- URL: API Ninjas
- Generates random secure passwords.
-
Visual Crossing Weather API
- URL: Visual Crossing Weather
- Provides weather data for a specified location.
-
Dice Rolling
- URL: Rrandom/integers
- Generates random numbers.
-
University Search
- URL: Hipo University
- Provides a search endpoint wth autocomplete for university name or/and filter by country.
-
Pet Finder
- URL: The Cat API
- Pet Finder provides a search endpoint to find and adopted pet.
-
Cat Image
- URL: The Cat API
- Provides random cat images.
-
Open Library
- URL: Open Library API
- Open Library is an web page for every book ever published. Discover more than 3M books.
-
SpaceX API
- URL: SpaceX API
- Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.
-
CoinGecko API
- URL: CoinGecko API
- Reliable crypto market data through RESTful JSON endpoints.
-
Advice Slip
- URL: Advice Slip JSON API
- Provides a endpoint wth random advice.
-
XKCD
- URL: XKCD API
- A webcomic of romance, sarcasm, math, and language.
-
Pokeapi
- URL: Poke API
- All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API.
-
Spoonacular
- URL: Spoonacular API
- The spoonacular Nutrition, Recipe, and Food API allows you to access over 5,000 recipes, thousands of ingredients.
-
The OpenSky Network
- URL: The OpenSky Network API
- The OpenSky Network is a non-profit association based in Switzerland that provides open access of flight tracking control data.
This project also includes the following tools that do not require external APIs:
-
Random Color Generator
- Generates random colors for design purposes.
-
Dice Rolling
- Simulates rolling a dice and displays the result.
The website is designed to run directly in your web browser without any server setup. Open the index.html
file, and you can use each tool by interacting with the respective sections.
Contributions are welcome! If you have any improvements, suggestions, or bug fixes, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new pull request.
This project is licensed under the MIT License. See the LICENSE file for details.