Skip to content

stfnwp/tty-mars

Repository files navigation

tty-mars

retrieve mars sol and temperature via http.

dependencies

  • pkg-config (build only)
  • glib
  • curl
  • json-c
  • ncurses

consumed API

https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0

By default, the DEMO_KEY is used as the API key for the http request. It has a request limit.
You can increase this limit by providing your own API key. Just assign the key to the environment variable API_KEY before calling the command:

API_KEY=<your-api-key> tty-mars

thanks

The ncurses output is heavily inspired by tty-clock.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published