I've written a small Java library, which is basically a wrap-around for Nominatim, a reverse geocoding [which means the input is a position given by latitude and longitude and the output is a street address] service based on OpenStreetMap. You can use it as library in your own projects or as command line tool.