xml_rpc 0.5.0 copy "xml_rpc: ^0.5.0" to clipboard
xml_rpc: ^0.5.0 copied to clipboard

A library implementing the XML-RPC protocol. It provides a client allowing to make calls to servers.

example/main.dart

// 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() async {
  final url = Uri.parse('https://api.flickr.com/services/xmlrpc');
  try {
    var result = await xml_rpc.call(
      url,
      'flickr.panda.getList',
      [
        {'api_key': 'yourApiKey'}
      ],
    );
    print(result);
  } catch (e) {
    print(e);
  }
}
10
likes
125
pub points
77%
popularity

Publisher

unverified uploader

A library implementing the XML-RPC protocol. It provides a client allowing to make calls to servers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, http, meta, xml

More

Packages that depend on xml_rpc