cboettcher 0 Posted ... I'd like to build a simple, small client that uses the status endpoint. In order to avoid abusing the API, I'd like to keep servers in a local database, only refreshing it every hour or so. However, I'm not sure what I should be using as a primary key. My initial thought is to use the server name. But do server names ever change? What other aspects of a server, if any, are immutable? Quote Share this post Link to post
OpenSourcerer 1435 Posted ... You're not the first one to write things using the AirVPN API, so you can maybe reuse some code and/or info. I'd love to see more activity in this direction. 9 hours ago, cboettcher said: But do server names ever change? What other aspects of a server, if any, are immutable? Server names don't change unless announced, so you can use that as primary. Quote Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post
cboettcher 0 Posted ... @OpenSourcerer Thanks for the link (and the confirmation regarding server names). I agree that there's no use in re-inventing the wheel. Will definitely clone the repo and have a look. cb Quote Share this post Link to post