Skip to content

dydra/dydra.js

Repository files navigation

Dydra.com Software Development Kit (SDK) for JavaScript

Travis CI build status

This is the official JavaScript software development kit (SDK) for Dydra.com, the cloud-hosted RDF & SPARQL database service.

Examples

var mySession = new Dydra.Session({token: "MY_SECRET_TOKEN"});

var myRepository = mySession.open("my_account/my_repository");

myRepository.query("SELECT * WHERE {?s ?p ?o} LIMIT 10", {
  success: function(data) {
    console.log("SPARQL query succeeded and returned:");
    console.log(data);
  },
  failure: function(xhr) {
    console.log("SPARQL query failed.");
    console.log(xhr);
  }
});

For more examples of using this library, see the doc/examples directory.

Dependencies

To use this library from your own code, the only runtime dependency is jQuery (>= 1.9).

To contribute to this library, the development dependencies are:

  • NPM for package and dependency management
  • Grunt (>= 0.4) for task execution (static analysis and the test harness)
  • Jasmine (>= 2.0) for unit testing

Note: the instructions in this README implicitly assume a Unix system (Mac OS X, Linux, or BSD) at present. Patches improving Windows support are most welcome.

Authors

Contributors

Contributing

  • Do your best to adhere to the existing coding conventions and idioms.
  • Don't use hard tabs, and don't leave trailing whitespace on any line.
  • Don't touch the VERSION or AUTHORS files. If you need to change them, do so on your private branch only.
  • Do feel free to add yourself to the CREDITS file and the corresponding list in the README. Alphabetical order applies.

License

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

About

Dydra.com software development kit (SDK) for JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published