An open API service indexing awesome lists of open source software.

https://github.com/thisis-developer/random-api

Random-API is a collection of fun tools and utilities, powered by APIs and native functionalities, to add a touch of randomness to your day! From fetching cat facts to rolling dice, it's all about surprises and smiles. Dive in and discover the joy of randomness! 😊
https://github.com/thisis-developer/random-api

adviceslip-api apinijas bored-api catapi catfactsapi dogceo hipo-university open-library-api pokeapi spacex-api spoonacular-api visualcrossingweather xkcd-comics

Last synced: 10 months ago
JSON representation

Random-API is a collection of fun tools and utilities, powered by APIs and native functionalities, to add a touch of randomness to your day! From fetching cat facts to rolling dice, it's all about surprises and smiles. Dive in and discover the joy of randomness! 😊

Awesome Lists containing this project

README

          

# Random-API

[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]

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.

## Table of Contents

- [Installation](#installation)
- [UI](#website-ui)
- [APIs Used](#apis-used)
- [Tools Without API](#tools-without-api)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Installation

To get started with this project, simply clone or download the repository and open the `index.html` file in your web browser.

```bash
git clone https://github.com/ThisIs-Developer/Random-API.git
cd Random-API
```

## UI 🌐 [Live View](https://randomapi.pages.dev/)

## APIs Used

This project integrates the following APIs using JavaScript:

1. **Cat Facts API**
- URL: [Cat Facts](https://catfact.ninja/)
- Provides random cat facts.

2. **Bored API**
- URL: [Bored API](https://www.boredapi.com/)
- Suggests random activities to cure boredom.

3. **Dog CEO API**
- URL: [Dog CEO](https://dog.ceo/dog-api/)
- Provides random dog images.

4. **Official Joke API**
- URL: [Official Joke API](https://github.com/15Dkatz/official_joke_api?tab=readme-ov-file)
- Returns random jokes.

5. **Hindi Jokes API**
- URL: [Hindi Jokes API](https://hindi-jokes-api.onrender.com/)
- Supplies random Hindi jokes.

6. **API Ninjas Password Generator**
- URL: [API Ninjas](https://api-ninjas.com/api/passwordgenerator)
- Generates random secure passwords.

7. **Visual Crossing Weather API**
- URL: [Visual Crossing Weather](https://www.visualcrossing.com/)
- Provides weather data for a specified location.

8. **Dice Rolling**
- URL: [Rrandom/integers](https://www.random.org/integers/)
- Generates random numbers.

9. **University Search**
- URL: [Hipo University](https://github.com/hipo/university-domains-list)
- Provides a search endpoint wth autocomplete for university name or/and filter by country.

10. **Pet Finder**
- URL: [The Cat API](https://thecatapi.com/)
- Pet Finder provides a search endpoint to find and adopted pet.

11. **Cat Image**
- URL: [The Cat API](https://developers.thecatapi.com/view-account/ylX4blBYT9FaoVd6OhvR?report=bOoHBz-8t)
- Provides random cat images.

12. **Open Library**
- URL: [Open Library API](https://openlibrary.org/developers/api)
- Open Library is an web page for every book ever published. Discover more than 3M books.

13. **SpaceX API**
- URL: [SpaceX API](https://docs.spacexdata.com/)
- Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.

14. **CoinGecko API**
- URL: [CoinGecko API](https://www.coingecko.com/en/api)
- Reliable crypto market data through RESTful JSON endpoints.

15. **Advice Slip**
- URL: [Advice Slip JSON API](https://api.adviceslip.com/)
- Provides a endpoint wth random advice.

16. **XKCD**
- URL: [XKCD API](https://xkcd.com/)
- A webcomic of romance, sarcasm, math, and language.

17. **Pokeapi**
- URL: [Poke API](https://pokeapi.co/docs/v2)
- All the PokΓ©mon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API.

18. **Spoonacular**
- URL: [Spoonacular API](https://spoonacular.com/food-api)
- The spoonacular Nutrition, Recipe, and Food API allows you to access over 5,000 recipes, thousands of ingredients.

19. **The OpenSky Network**
- URL: [The OpenSky Network API](https://opensky-network.org/)
- The OpenSky Network is a non-profit association based in Switzerland that provides open access of flight tracking control data.

## Tools Without API

This project also includes the following tools that do not require external APIs:

1. **Random Color Generator**
- Generates random colors for design purposes.

2. **Dice Rolling**
- Simulates rolling a dice and displays the result.

## Usage

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.

## Contributing

Contributions are welcome! If you have any improvements, suggestions, or bug fixes, please open an issue or submit a pull request.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit your changes (`git commit -am 'Add new feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

[license-shield]: https://img.shields.io/badge/License-MIT-red.svg
[license-url]: https://github.com/ThisIs-Developer/Random-API/blob/main/LICENSE
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat&logo=linkedin&colorB=blue
[linkedin-url]: https://www.linkedin.com/in/baivabsarkar/