Hello,Dev Friends.In this article I have written about a list of certain public APIs which you can use for practice as a beginner in React/JavaScript.Before starting with creating Apps in React using Public APIs,learn React basics and about fetch/axios,http requests,JSON.Learn to read the documentation of any API for its usage.
So,here goes the list:
1.Quotes API:
API Link
You can generate random quotes on clicking a button using this API.Make use of fetch and useEffect.
Github Repository
Demo
2.Currency Converter:
API Link
This API has currency exchange rates which you can use for creating currency converter app.
Github Repository
Demo
3.Robohash API:
Website-https://robohash.org/
This API is used for generating unique robot/alien/monster images by adding any text at the end of the above url.
Github Repository
Demo link
4.Random user API:
API Link
You can generate random user and his/her details by using this API.
5.Weather API:
Website-https://openweathermap.org/api
Search for weather of any city with the help of the given API.Generate your API key for usage.
6.OMDB Movie API:
Website-http://www.omdbapi.com/
Search for the movies through this API and you can also display Single movie details separately by using React Router.API key is required.
7.Covid-19 API:
API Link
Through this API you can generate Covid-19 data of different countries.
Refer to this tutorial
There are many APIs but I don't want to overwhelm someone who is starting with React/JavaScript.You can start with these APIs first for practice.
Top comments (10)
For those who dont know theres a github repository of all available public apis
github.com/public-apis/public-apis
Use them to build something awsome.
an API to browse APIs, GENIUS
it is awesome , thanks man!
Missing the most important ones:
Pokemon Data (with images) pokeapi.co/
LOTR (because best text content) the-one-api.dev/
Simple Image Placeholder picsum.photos/
Nice
I really Needed this
Great
My collection:
github.com/mrdulin/resources#progr...
Great list!
You've missed the QuizAPI 🙌
Thanks a lot! :)