at_lookup 1.0.0+5 copy "at_lookup: ^1.0.0+5" to clipboard
at_lookup: ^1.0.0+5 copied to clipboard

outdated

Library for executing at commands on a secondary server. Example - scan. update, lookup, llookup, plookup etc.

Now for a little internet optimism #

at_lookup library #

The AtLookup Library is the low-level direct implementation of the @protocol verbs

Installation: #

To use this library in your app, first add it to your pubspec.yaml

dependencies:
  at_lookup: ^1.0.0

Add to your project #

pub get 

Import in your application code #

import 'package:at_lookup/at_lookup.dart';

Usage #

var atLookUpImpl = AtLookupImpl(
    '@alice',
    'root.atsign.com',
    64,
    privateKey: 'privateKey',
    cramSecret: 'cramSecret',
  );

  var key = 'test_key';
  var sharedBy = '@alice';
  var sharedWith = '@bob';
  var result =
      await atLookUpImpl.update(key, 'test_value', sharedWith: sharedWith);
// lookup
  var lookup_result = await atLookUpImpl.lookup(key, sharedBy);
// plookup
  var plookup_result = await atLookUpImpl.plookup(key, sharedBy);
// llookup
  var llookup_result = await atLookUpImpl.llookup(key,
      sharedBy: sharedBy, sharedWith: sharedWith, isPublic: true);
// delete
  var delete_result =
      await atLookUpImpl.delete(key, sharedWith: '@bob', isPublic: false);
// scan
  var scan_result_list =
      await atLookUpImpl.scan(regex: '*', sharedBy: '@alice');
8
likes
0
pub points
81%
popularity

Publisher

verified publisheratsign.org

Library for executing at commands on a secondary server. Example - scan. update, lookup, llookup, plookup etc.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

at_commons, at_utils, crypto, crypton, path

More

Packages that depend on at_lookup