semantics3 0.1.1 copy "semantics3: ^0.1.1" to clipboard
semantics3: ^0.1.1 copied to clipboard

Dart 1 only

Semantics3 API library for Dart.

Semantics3 API Dart SDK #

Usage #

import 'package:semantics3/lib/semantics3.dart' as semantics3;
	
// Set your credentials.
const String apiKey = "SEM3xxxxxxxxxxxxxxxxxxxxxxxxx",
  apiSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

// Build and run a query.
var sem3 = new semantics3.Products(apiKey, apiSecret);
sem3.productsField('cat_id', 13658)
  .productsField('brand', 'Toshiba')
  .productsField('model', 'Satellite')
  .getProducts().then((List products) {
  	print(products);
  })
  .catchError((e) {
	print(e.getMessage()['message']);
	print(e);
  }, test: (e) => e is semantics3.ProductsException);

Author #

Amarnath Ravikumar amar@semantics3.com

0
likes
15
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

Semantics3 API library for Dart.

View/report issues

License

MIT (license)

Dependencies

oauth1

More

Packages that depend on semantics3