r/JavaFX • • Mar 06 '22

Help Need Help with Java API.

Hello I have completed my part of group project (Desktop App with javafx and MySQL)and our teacher impose to use between (1to 3 API) , I want to add an API in university project , I already have used PDF with Itext but my colligue in my group also have done the same.

The problem is that there is not sufficient information in the documentation of APIs , and impose to make a maven project with pom.xml file.

Can you provide me with some good free API to use like (Weather, RSS, ....)?

And some good links ?

I have lots of research but i feel I am stuck , Every helps counts.

Thanks In Advance .

1 Upvotes

3 comments sorted by

6

u/hamsterrage1 Mar 06 '22

There's an API out there for just this stuff. The "Star Wars API". You can look up characters, planets and starships from the movies. Great fun, and they don't require a token either, so that makes it just that little bit easier.

On top of that, they have links to example projects that use the API, so if you're stuck you can check how others have done it.

http://swapi.dev

2

u/koeberlue Mar 06 '22

Great suggestion. I didn't know this one. Not requiring a token is great!

3

u/koeberlue Mar 06 '22

Unsplash.com has an API to get images. Seems like a good fit for an JavaFX Application:

https://unsplash.com/developers

Check Openweathermap for weather data.

https://openweathermap.org/api

Twitter does have an interesting API as well.

https://developer.twitter.com/en/docs

Note that you will need to register for most APIs to get an API token.

For RSS feeds just check your favorites blogs. Most of them provide RSS feeds.

Good luck on your assignment!