Example #1
0
        public async Task<bool> SendPosition(string position)
        {
            var config = new ConfigurationViewModel();
            var httpRpcClient = new HttpRpcClient("/core/api/jeeApi.php?api=" + config.ApiKey + "&type=geoloc&id=" + config.GeolocObjectId + "&value=" + position);

            return await httpRpcClient.SendRequest();
        }
Example #2
0
        public async Task<bool> SendNotificationUri(string uri)
        {
            var config = new ConfigurationViewModel();
            var httpRpcClient = new HttpRpcClient("/plugins/pushNotification/php/updatUri.php?api=" + config.ApiKey + "&id=" + config.NotificationObjectId + "&uri=" + uri);

            return await httpRpcClient.SendRequest();
        }