2.0.0-alpha.28 • Published 2 months ago
@ulixee/client v2.0.0-alpha.28
#Install the Ulixee CLI and your Schema(s)
Install the cli:
$ npm install -g @ulixee/cli
Run cli to initiate setup:
$ ulixee
- You’ll be prompted to create a keypair and lockfile. These both need to go into your deployment/project.
- Choose a Payment option:
- Pay with argons directly using a sidechain
- Use a payment onramp like "Stripe for Ulixee" (provided by the Data Liberation Foundation)
- Install datasets
- Search for datasets at https://ulixee.org
#Install this project
$ pip install -r requirements.txt
#Start Querying for Data
- Integrate data queries into your app. Your dataset schema has the available fields to retrieve and the parameters to retrieve data.
- NOTE: you can also find documentation here: https://ulixee.network (ask for credentials)
For each query, you will specify a “view of truth”. For example, restaurant.reservations might support opentable.com, reserve.com and a few others.
- You can explore datasets and views of truth on https://ulixee.org
const Ulixee = require('@ulixee/client'); (async function run() { try { const ulixee = new Ulixee({ lockfile: 'ulixee-lock.json' }); const request = await ulixee.query('encyclopedia.entry:wikipedia.com', { params: { name: 'Blockchain', page: 1 }, fields: ` title url extract contributors { username } `, maxTimeInCache: '10s' }); console.log(JSON.stringify(request, null, 2)); } catch (err) { console.log(err); } })();
2.0.0-alpha.28
2 months ago
2.0.0-alpha.27
3 months ago
2.0.0-alpha.26
4 months ago
2.0.0-alpha.25
5 months ago
0.2.8
4 years ago
0.2.7
4 years ago
0.2.1
4 years ago
0.2.2
4 years ago
0.1.2
4 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago