neos 0.6.5

NeosVR's API in rust
Documentation
use racal::Queryable;

use super::NoAuthentication;

/// Gets the amount of users that are online
pub struct OnlineUserCount;

impl Queryable<NoAuthentication, u32> for OnlineUserCount {
	fn url(&self, _: &NoAuthentication) -> String {
		format!("{}/stats/onlineUsers", crate::API_BASE_URI)
	}
}

/// Gets the amount of online instances
pub struct OnlineInstanceCount;

impl Queryable<NoAuthentication, u32> for OnlineInstanceCount {
	fn url(&self, _: &NoAuthentication) -> String {
		format!("{}/stats/onlineInstances", crate::API_BASE_URI)
	}
}