This content originally appeared on DEV Community and was authored by Animesh Dhamku
Nothing excites me more than finding an out of the ordinary API.Many times we just want to focus on the frontend but also need interesting, dynamic data to display.This is where public APIs come into play. API is an acronym for Application Programming Interface.The core benefit of using it is that it allows one program to interact with other programs.Using public APIs allows you to focus on the frontend and things that matter without worrying so much about the database and the backend.Below are 7 less-talked about public and free APIs.
1. Evil Insult Generator
How many times have you tried to insult your best friend? Now you have got a helping hand!
As the API name suggests, the goal is to offer some of the evilest insults.
You can create an app centered around this API or combine this API with other excellent APIs provided below like implementing the generated insults in meme templates.
The API is extremely simple to use. You just need to visit a URL and you get the desired JSON output without even signing up for a key.
Sample output of the API is provided below:
{
"number":"117",
"language":"en",
"insult":"Some cause happiness wherever they go; others, whenever they go.",
"created":"2020-11-22 23:00:15",
"shown":"45712",
"createdby":"",
"active":"1",
"comment":"http:\/\/www.mirror.co.uk\/news\/weird-news\/worlds-20-most-bizarre-insults-7171396"
}
You get the other properties as well such as the time it was created, the language, any comment as well as the views.
2. Movies and TV API
TMDb is a famous API, but do you know there are other API that provides insights from specific shows and movies?
Below are some of the APIs you can use to develop apps featuring your favorite show:
Breaking Bad API
API of Ice And Fire
Harry Potter API
YouTube API (for embedding YouTube functionalities)
The Lord of the Rings API
Like the API above, you can get started with some of the APIs without even signing up for a key.
Not only this, using non-copyright images, you can truly create a great fan app for your beloved shows.
Below is a sample output from the Breaking Bad API which you can get here.
It doesn’t require a key however has a rate limit of 10,000 requests per day.
{
[
{
"quote_id":1,
"quote":"I am not in danger, Skyler. I am the danger!",
"author":"Walter White",
"series":"Breaking Bad"
},
{
"quote_id":2,
"quote":"Stay out of my territory.",
"author":"Walter White",
"series":"Breaking Bad"
},
{
"quote_id":3,
"quote":"IFT",
"author":"Skyler White",
"series":"Breaking Bad"
}
.....
]
}
It returns a JSON containing an array of objects with quotes, the author of the quotes, and an ID.
You can mix these dedicated APIs with YouTube API to create an ultimate app for the fans of these shows.
3. Mapbox
Mapbox provides precise location information and fully-fledged tools to developers.
You get instant access to dynamic, live-updating maps which you can even further customize!
If you have a project geared towards location and maps, this is a must-know API.
However, it is worth mentioning that you have to sign up for free to get a unique access token.
Using this token you can use the amazing services offered by this API.
Not only this, you can use Mapbox with libraries such as the Leaflet.js library and create beautiful, mobile-friendly maps.
I have discussed this and much more in my recent article covering the basics of Mapbox and Leaflet.js.
4. NASA API
NASA provides a fabulous updated database of space-related information.
Using this API, one can create mesmerizing and educational apps and websites.
You get access to various different kinds of data from the Astronomy Picture of the Day all the way to the pictures captured by the Mars Rover.
You can browse the entire list here.
You can also retrieve NASA’s patents, software, and technology spinoff descriptions which you can use to build a patent portfolio.
This API is really diverse and offers a wide variety of data. You can even access the NASA Image and Video library using it.
Below is a sample query of the pictures captured by Curiosity on Mars.
{
"photos":[
{
"id":102693,
"sol":1000,
"camera":{
"id":20,
"name":"FHAZ",
"rover_id":5,
"full_name":"Front Hazard Avoidance Camera"
},
"img_src":"http://mars.jpl.nasa.gov/msl-raw-images/proj/msl/redops/ods/surface/sol/01000/opgs/edr/fcam/FLB_486265257EDR_F0481570FHAZ00323M_.JPG",
"earth_date":"2015-05-30",
"rover":{
"id":5,
"name":"Curiosity",
"landing_date":"2012-08-06",
"launch_date":"2011-11-26",
"status":"active"
}
},
.....
]
}
This content originally appeared on DEV Community and was authored by Animesh Dhamku
Animesh Dhamku | Sciencx (2021-04-24T05:53:01+00:00) Free APIs That Nobody Is Talking About. Retrieved from https://www.scien.cx/2021/04/24/free-apis-that-nobody-is-talking-about-3/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.