0.0.9 • Published 3 months ago

@deepcube/roadsdata-web-sdk v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

RoadsData Web SDK

The RoadsData Web SDK offers a solution to easily integrate HTTP APIs into your web applications. Allowing integration with RoadsData, a private Network ads platform with advanced targeting and an all-in-one solution, our SDK simplifies the integration of advertising into your projects.

Installation

You can install the RoadsData Web SDK using npm. Here is the link to the npm package: RoadsData Web SDK

npm install @deepcube/roadsdata-web-sdk

Key Features

The SDK allows fast and easy integration of RoadsData into your website or web app. You can embed RoadsData using simple div containers. For more information about the platform, visit RoadsData.

Examples or Demo

In the "example" folder of the project, you will find a web page demo. However, the basic integration involves including and initializing the SDK as follows:

<script src="{cdnHost}/bundle.min.js"></script>
<script type="text/javascript">
  window.addEventListener("load", function() {
    // TODO: replace with your demo values
    const host = "";
    const clientId = "";
    const consumerToken = "";
    window.RoadsdataWebSdk.init(host, clientId, consumerToken);
  });
</script>

Additionally, you can include advertising containers in your web page like this:

<div roadsdata-container="{yourContainerId}"></div>

System Requirements

The RoadsData Web SDK has no specific system requirements, except compatibility with Node.js for managing the JS application in which it is included and browser support.

Contribute

We welcome contributions and bug reports through GitHub. If you encounter issues or wish to enhance our SDK, feel free to open an issue.

License

To be defined

Contact