Giter VIP home page Giter VIP logo

marsweatherserver's Introduction

Mars Weather Temperature Service API

Simple API to get Mars temperature information

More information are available at https://mars.nasa.gov/insight/weather/

Requirements

Java 1.8

Tomcat v7.0 Server (minimum)

Follow the steps to use this API:

  1. Download the project

====== CHOOSE ONE OF THESE STEPS TO RUN ======

  1. Inside the release folder there is MarsWeatherServer.war
    2.1. Start Tomcat Server Application (tomcat/bin/startup)
    2.2. Open Console (http://localhost:8080/manager)
    2.3. Deploy MarsWeatherServer.war by console

deploy

OR

  1. Open with Eclipse IDE
    2.1. Deploy into Tomcat Server Application by Eclipse

==============================================

  1. Download Advanced REST Client
  2. Choose Method GET
  3. Now you can try two requests forms:

    To get average temperature of the last seven available Sols (Martian Days)

    5.1. Request URL: http://localhost:8080/MarsWeatherServer/nasa/temperature

    To get average temperature of a particular SOL (ex: 418)

    5.2. Request URL: http://localhost:8080/MarsWeatherServer/nasa/temperature?sol=418

no given SOL

sol 418

marsweatherserver's People

Contributors

igrbrt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.