xml_rpc 0.2.2 xml_rpc: ^0.2.2 copied to clipboard
A library to communicate through the XML-RPC protocol.
// Copyright (c) 2015, Alexandre Ardhuin. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in the
// LICENSE file.
import 'package:xml_rpc/client.dart' as xml_rpc;
void main() {
const url = 'https://api.flickr.com/services/xmlrpc';
xml_rpc
.call(url, 'flickr.panda.getList', [
{'api_key': 'yourApiKey'}
])
.then(print)
.catchError(print);
}