YouVersion-API icon indicating copy to clipboard operation
YouVersion-API copied to clipboard

What is the ServerAddress?

Open jerryagenyi opened this issue 11 months ago • 5 comments

Hi. I am a bit new to coding. I was wondering what the ServerAddress in "https://serverAddress.com/api/v1/status" will be? is it "bible.com", "youversion.com" or something else? Thank you.

jerryagenyi avatar Jan 22 '25 13:01 jerryagenyi

Hi Jerry,

The server address will be the IP of where you host the API. If you host it on your computer you can access it from the web browser of your computer using localhost:3000 or on other devices using the IP of your computer you can find using ipconfig on Windows.

If you are hosting on a platform like railway or DigitalOcean they should provide an ip or subdomain for you to use.

For a VPS like from hetzner, you should be given the IP of the server or you can find it using terminal commands. You might have to mess with ufw for some VPS' to actually allow access to the API.

Best Regards, Glow

Glowstudent777 avatar Jan 22 '25 13:01 Glowstudent777

Hi Jerry,

The server address will be the IP of where you host the API. If you host it on your computer you can access it from the web browser of your computer using localhost:3000 or on other devices using the IP of your computer you can find using ipconfig on Windows.

If you are hosting on a platform like railway or DigitalOcean they should provide an ip or subdomain for you to use.

For a VPS like from hetzner, you should be given the IP of the server or you can find it using terminal commands. You might have to mess with ufw for some VPS' to actually allow access to the API.

Best Regards, Glow

Thank you. Doing some reading on cloning repos and using it. Thanks for your quick response by the way.

What I am hoping to achieve at the end is to generate an xml file of a particular version of the bible from bible.com.

jerryagenyi avatar Jan 22 '25 17:01 jerryagenyi

Hi Jerry,

I'd like to refer you to this issue: https://github.com/Glowstudent777/YouVersion-Core/issues/1

It might be a little difficult at the moment to accomplish what you want because of it.

Glowstudent777 avatar Jan 22 '25 18:01 Glowstudent777

I found a script that worked for what I wanted - to generate full XML files of bible versions so I can use with WorshipTools Presenter. Check it out here: https://github.com/mightmay/youversion-bible.com-downloader. Thanks for your response too @Glowstudent777

jerryagenyi avatar Jan 23 '25 13:01 jerryagenyi

Hi Jerry,

Thank you for the recommendation. I'll definitely look into it for a possible future project.

Glowstudent777 avatar Jan 23 '25 13:01 Glowstudent777