What is the ServerAddress?
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.
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
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:3000or on other devices using the IP of your computer you can find usingipconfigon 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.
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.
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
Hi Jerry,
Thank you for the recommendation. I'll definitely look into it for a possible future project.