vitorghc / weather-movie-api

A Restful API with spring boot that returns a list of movies based on the temperature of the time that is to your city, using two apis of consumption openweathermap API and themoviedb API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weather-movie-api

About the project:

A Restful api with spring boot that returns a list of movies based on the temperature of the time that
is to your city, using two apis of consumption openweathermap api themoviedb api

Versions:

  • Spring Boot 2.2.2.RELEASE
  • SpringFox (swagger) 2.6.1
  • Apache-maven 3.5.4

Get Started

Clone project https://github.com/vitorghc/weather-movie-api.git and start project in server.port desired.

When starting the project, by default the port will be 8091 in which case you can initialize using the url:

http://localhost:8091/weather-movies/v1/movies

You can also use a swagger facilitator as a great way to use this API.

http://localhost:8091/weather-movies/v1/swagger-ui.html

Log Result

Documentatons of the two API used:

  • 1 - Weather forecasting
    https://openweathermap.org/api (Open Weather Api)
  • 2 - Movie Api
    https://www.themoviedb.org/documentation/api (Movie Api)

About

A Restful API with spring boot that returns a list of movies based on the temperature of the time that is to your city, using two apis of consumption openweathermap API and themoviedb API


Languages

Language:Java 100.0%