Skip to content

Norrels/Films-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Displays an illustrated text 'Films API' with a gradient ranging from blue to purple, progressing from left to right.

About

The main idea of the application is create a endpoint to search a movie using a OMDb API.

Stacks

  • Go
  • Chi

How to use

Get an API key from the OMDb website, then create a .env file.

OMDB_KEY=[your api key]

Endpoint

  • GET /, Search for movies that match the filter.

Query Parameters

  • s: film name.

Example

  • /?s=gone girl
  • /?s=batman
{  "Search":
    [
      {
        "Title":"Gone Girl",
        "Year":"2014","imdbID":"tt2267998",
        "Type":"movie",
        "Poster":"https://m.media-amazon.com/images/M/MV5BMTk0MDQ3MzAzOV5BMl5BanBnXkFtZTgwNzU1NzE3MjE@._V1_SX300.jpg"
      }
    ]
}

Developed concepts

Create an endpoint that integrates with an external API in Go.

About

Go API using OMDb

Topics

Resources

Stars

Watchers

Forks

Languages