Raspberry Pi One Wire (temperature) Examples

Can anyone provide example of setting up Raspberry Pi one wire to read temperature sensors. I’ve done it in Python via adafruit directions.

Thanks!
Calvin