Skip to content

A small GO CLI program that fetches information from a few different API'S

Notifications You must be signed in to change notification settings

maxnormand97/go-get-my-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot 2024-10-21 at 17 09 53

Project Details

A small CLI project for fun and learning, integrating a bunch of free API's to get daily info fast. API's include:

  • Chess.com api
  • Cat Facts api
  • Weatherstack api (needs key / signup)

A simple project aiming to learn how to deconstruct API responses and parse them into the CLI. You can easily replace and reiterate on the commonalities of the project to integrate your own free API's!

Anything the require a key you can use the weather.go file as reference and install the go env package and add your relevant .env files to your calls.

TODO's

  1. - Tests (mainly for api files)
  2. - Further abstractions on case statement in main function
  3. - Create req and response function for handling calls to API in main function

About

A small GO CLI program that fetches information from a few different API'S

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages