Popular Open APIs available for developers

Bytes and Beyond
2 min readJun 19, 2023

--

There are several open APIs (Application Programming Interfaces) available for developers across various domains. Here are a few popular ones:

  1. OpenWeatherMap API: Provides access to weather data and forecasts worldwide.
  2. Website: https://openweathermap.org/api
    Website: https://developers.google.com/maps/documentation
    Website: https://developer.twitter.com/en/docs/twitter-api
    Website: https://docs.github.com/en/rest
    Website: https://stripe.com/docs/api
    Website: https://www.twilio.com/docs/quickstart
    Website: https://api.nasa.gov/
    Website: https://platform.openai.com/docs/quickstart
    Website: https://developer.spotify.com/documentation/web-api/
    Website: https://wiki.openstreetmap.org/wiki/API
  3. Google Maps API: Enables integration with Google Maps services, including mapping, geocoding, and routing.
  4. Twitter API: Allows developers to interact with the Twitter platform, access tweets, post tweets, and perform various other actions.
  5. GitHub API: Enables developers to interact with GitHub repositories, manage issues, pull requests, and perform various Git operations.
  6. Stripe API: Provides a platform for developers to integrate online payment processing into their applications.
  7. Twilio API: Allows developers to add SMS, voice, and video communication capabilities to their applications.
  8. NASA API: Provides access to various NASA data sets, including astronomy images, Mars Rover photos, and more.
  9. OpenAI API: Offers access to powerful natural language processing models and capabilities, including text generation and language translation.
  10. Spotify API: Enables developers to integrate with the Spotify music platform, access playlists, search for tracks, and manage user libraries.
  11. OpenStreetMap API: Provides access to crowd-sourced map data, geocoding, and routing information.

Let’s start with OpenAI APIs:

First of you would need to know what are the different models which is available, and, then, find a API which fits your use case.

I tried Image APIs, which can be useful for designers to create/update images in different format.

Example:

CURL HTTPS://API.OPENAI.COM/V1/IMAGES/GENERATIONS \
-H “CONTENT-TYPE: APPLICATION/JSON” \
-H “AUTHORIZATION: BEARER $OPENAI_API_KEY” \
-D ‘{
“PROMPT”: “A CUTE BABY SEA OTTER”,
“N”: 2,
“SIZE”: “1024X1024”
}’

Interesting part is Prompt, you can pass simple conversation type command similar to the way you interact with your designer while building a product.

Another API which I have tried is extracting tags from a list of product attributes.

This is the API:

curl https://api.openai.com/v1/chat/completions \
-H “Content-Type: application/json” \
-H “Authorization: Bearer $OPENAI_API_KEY” \
-d ‘{
“model”: “gpt-3.5-turbo”,
“messages”: [{“role”: “user”, “content”: “Extract Tags from this product description: You can get your clothes thoroughly cleaned in the LG FHM1006SDW 6 kg Front-loading Washing Machine. Its 6 Motion Direct Drive technology pushes the wash drum in numerous directions when you select a wash programme. This ensures that your garments are gently yet thoroughly washed. In addition, this washing machine produces less noise, vibration, and wear and tear as its motor is directly attached to the drum. Moreover, this washing machine removes pet hair, pollen allergens, and house dust mites from delicate garments that require special care, thanks to its Steam Wash programme”}]
}’

Response:

“choices”: [
{
“message”: {
“role”: “assistant”,
“content”: “LG, FHM1006SDW, 6 kg, Front-loading, Washing Machine, 6 Motion Direct Drive, wash programme, gentle washing, less noise, vibration, wear and tear, motor, drum, pet hair, pollen allergens, house dust mites, delicate garments, special care, Steam Wash programme.”
}
]

Reference: https://platform.openai.com/docs/api-reference/chat/create

Follow me here as well: https://hubpages.com/@ajhawrites

--

--

Bytes and Beyond
Bytes and Beyond

Written by Bytes and Beyond

Tech enthusiast exploring the intersection of innovation, people, and processes. Passionate about product development, agile methodologies, and more...

No responses yet