npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/waag

v6.0.0

Published

DataFire integration for CitySDK Linked Data

Downloads

7

Readme

@datafire/waag

Client library for CitySDK Linked Data

Installation and Usage

npm install --save @datafire/waag
let waag = require('@datafire/waag').create();

.then(data => {
  console.log(data);
});

Description

An API for the distribution and annotation of open data, for small cities and big metropolitan areas.

Actions

layers.get

Return all layers

waag.layers.get(null, context)

Input

This action has no parameters

Output

Output schema unknown

layers.post

Create new layer

waag.layers.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

layers.layer.delete

Delete a layer

waag.layers.layer.delete({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.get

Return single layer

waag.layers.layer.get({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.patch

Edit a layer

waag.layers.layer.patch({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.context.get

Return JSON-LD context of single layer

waag.layers.layer.context.get({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.context.put

Overwrite JSON-LD context of single layer

waag.layers.layer.context.put({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.fields.get

Return all fields of single layer

waag.layers.layer.fields.get({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.fields.post

Create new field for single layer

waag.layers.layer.fields.post({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.fields.field.delete

Delete a single field on single layer

waag.layers.layer.fields.field.delete({
  "layer": "",
  "field": ""
}, context)

Input

  • input object
    • layer required string
    • field required string

Output

Output schema unknown

layers.layer.fields.field.get

Return single field of single layer

waag.layers.layer.fields.field.get({
  "layer": "",
  "field": ""
}, context)

Input

  • input object
    • layer required string
    • field required string

Output

Output schema unknown

layers.layer.fields.field.patch

Edit single field on single layer

waag.layers.layer.fields.field.patch({
  "layer": "",
  "field": ""
}, context)

Input

  • input object
    • layer required string
    • field required string

Output

Output schema unknown

layers.layer.fields.field.put

Overwrite single field on single layer

waag.layers.layer.fields.field.put({
  "layer": "",
  "field": ""
}, context)

Input

  • input object
    • layer required string
    • field required string

Output

Output schema unknown

layers.layer.objects.delete

Delete all objects from a single layer

waag.layers.layer.objects.delete({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.objects.get

Return all objects with data on single layer

waag.layers.layer.objects.get({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.objects.patch

Edit one or more objects and data on single layer

waag.layers.layer.objects.patch({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.objects.post

Create one or more objects with data on single layer, or add data to existing objects (or a combination thereof)

waag.layers.layer.objects.post({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

layers.layer.objects.cdk_id.get

Return metadata of single layer about single object, e.g. the date the data was added/modified, etc.

waag.layers.layer.objects.cdk_id.get({
  "layer": "",
  "cdk_id": ""
}, context)

Input

  • input object
    • layer required string
    • cdk_id required string

Output

Output schema unknown

layers.layer.owners.get

Return all owners associated with single layer

waag.layers.layer.owners.get({
  "layer": ""
}, context)

Input

  • input object
    • layer required string

Output

Output schema unknown

ngsi10.contextEntities.entity.get

Return single context entity

waag.ngsi10.contextEntities.entity.get({
  "entity": ""
}, context)

Input

  • input object
    • entity required string

Output

Output schema unknown

ngsi10.contextEntities.entity.attributes.put

Update attributes for single context entity

waag.ngsi10.contextEntities.entity.attributes.put({
  "entity": ""
}, context)

Input

  • input object
    • entity required string

Output

Output schema unknown

ngsi10.contextEntities.entity.attributes.attribute.get

Return single context entity attribute

waag.ngsi10.contextEntities.entity.attributes.attribute.get({
  "entity": "",
  "attribute": ""
}, context)

Input

  • input object
    • entity required string
    • attribute required string

Output

Output schema unknown

ngsi10.contextEntityTypes.cetype.get

Return objects of particular type

waag.ngsi10.contextEntityTypes.cetype.get({
  "cetype": ""
}, context)

Input

  • input object
    • cetype required string

Output

Output schema unknown

ngsi10.contextEntityTypes.cetype.attributes.attribute.get

Return objects of particular type

waag.ngsi10.contextEntityTypes.cetype.attributes.attribute.get({
  "cetype": "",
  "attribute": ""
}, context)

Input

  • input object
    • cetype required string
    • attribute required string

Output

Output schema unknown

ngsi10.queryContext.post

Query context broker for contextElements

waag.ngsi10.queryContext.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

ngsi10.subscribeContext.post

Create a new context subscription

waag.ngsi10.subscribeContext.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

ngsi10.unsubscribeContext.post

Delete a context subscription

waag.ngsi10.unsubscribeContext.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

ngsi10.updateContext.post

Add or update NGSI contextElements

waag.ngsi10.updateContext.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

ngsi10.updateContextSubscription.post

Update/edit a context subscription

waag.ngsi10.updateContextSubscription.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

objects.get

Return all objects

waag.objects.get(null, context)

Input

This action has no parameters

Output

Output schema unknown

objects.cdk_id.delete

Delete a single object

waag.objects.cdk_id.delete({
  "cdk_id": ""
}, context)

Input

  • input object
    • cdk_id required string

Output

Output schema unknown

objects.cdk_id.get

Get a single object

waag.objects.cdk_id.get({
  "cdk_id": ""
}, context)

Input

  • input object
    • cdk_id required string

Output

Output schema unknown

objects.cdk_id.patch

Edit a single object

waag.objects.cdk_id.patch({
  "cdk_id": ""
}, context)

Input

  • input object
    • cdk_id required string

Output

Output schema unknown

objects.cdk_id.layers.get

Get all layers that contain data of single object

waag.objects.cdk_id.layers.get({
  "cdk_id": ""
}, context)

Input

  • input object
    • cdk_id required string

Output

Output schema unknown

objects.cdk_id.layers.layer.delete

Remove data on layer from single object

waag.objects.cdk_id.layers.layer.delete({
  "cdk_id": "",
  "layer": ""
}, context)

Input

  • input object
    • cdk_id required string
    • layer required string

Output

Output schema unknown

objects.cdk_id.layers.layer.get

Return all data on single layer of single object

waag.objects.cdk_id.layers.layer.get({
  "cdk_id": "",
  "layer": ""
}, context)

Input

  • input object
    • cdk_id required string
    • layer required string

Output

Output schema unknown

objects.cdk_id.layers.layer.patch

Update data on layer to single object

waag.objects.cdk_id.layers.layer.patch({
  "cdk_id": "",
  "layer": ""
}, context)

Input

  • input object
    • cdk_id required string
    • layer required string

Output

Output schema unknown

objects.cdk_id.layers.layer.post

Add data on layer to single object

waag.objects.cdk_id.layers.layer.post({
  "cdk_id": "",
  "layer": ""
}, context)

Input

  • input object
    • cdk_id required string
    • layer required string

Output

Output schema unknown

objects.cdk_id.layers.layer.put

Overwrite data on layer to single object

waag.objects.cdk_id.layers.layer.put({
  "cdk_id": "",
  "layer": ""
}, context)

Input

  • input object
    • cdk_id required string
    • layer required string

Output

Output schema unknown

owners.get

Return all owners

waag.owners.get(null, context)

Input

This action has no parameters

Output

Output schema unknown

owners.post

Create new owner

waag.owners.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

owners.owner.delete

Delete owner - and all layers and data belonging to this owner

waag.owners.owner.delete({
  "owner": ""
}, context)

Input

  • input object
    • owner required string

Output

Output schema unknown

owners.owner.get

Get a single owner

waag.owners.owner.get({
  "owner": ""
}, context)

Input

  • input object
    • owner required string

Output

Output schema unknown

owners.owner.patch

Edit an owner

waag.owners.owner.patch({
  "owner": ""
}, context)

Input

  • input object
    • owner required string

Output

Output schema unknown

owners.owner.layers.get

Return all layers belonging to a single owner

waag.owners.owner.layers.get({
  "owner": ""
}, context)

Input

  • input object
    • owner required string

Output

Output schema unknown

session.delete

Close session

waag.session.delete(null, context)

Input

This action has no parameters

Output

Output schema unknown

session.get

Return a session key

waag.session.get({
  "name": "",
  "password": ""
}, context)

Input

  • input object
    • name required string: Login name.
    • password required string: Login password.

Output

Output schema unknown

Definitions

This integration has no definitions