First of all, that project is a huge over-engineering and the purpose of this is to be a showcase. If you're interested in an open-source weather API for your game or something like that, and ocasionally dropped here, keep searching.
The history behind this: I was going to the gym when I walked through my friend who was watching some Tarkov video and said about the feature in the game which makes rain when Tarkov's rain in real life. My first reaction was to say that it didn't seem like a difficult system to implement and that it would be a nice personal challenge to do something like that. So I did it.
WeatherAPI uses WeatherAPI - yeah, look how creative I'm at creating names 😆 - to get the real statics of the world. For personal projects, the standard version is more than enough.
Don't forget to check the acknowledgments.
No big deal. Just be sure you had all the requirements, then run the task :bootRun in Gradle.
- Some Java IDE.
- Your own WeatherAPI token.
- At least Java 17 installed on your machine. (Always recommend the zulu edition)
GET /weather
Parâmetro | Tipo | Descrição |
---|---|---|
city |
string |
The name of the city you want to get the weather. |
apiKey |
string |
Your own API Key. |
You can also test this here.
- Hour;
- Rain;
- Wind;
- Fog;
- Lightning;
- Snow;
- Better day/night system;
- Sunny light;
- NASA's Goddard Space Flight Center - Goddard Media Studios
- Weather System used in Demo - Pixel Weather Particles
- Awesome Readme Templates
- Awesome README
- How to write a Good readme
If you like my work and want to support me, you can buy me a coffee ☕. Also, you can follow me on social networks: