2.0.0-alpha.31 • Published 7 months ago
@ulixee/client v2.0.0-alpha.31
#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.31
7 months ago
2.0.0-alpha.30
9 months ago
2.0.0-alpha.29
12 months ago
2.0.0-alpha.28
1 year ago
2.0.0-alpha.27
1 year ago
2.0.0-alpha.26
1 year ago
2.0.0-alpha.25
2 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.1
6 years ago
0.2.2
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
7 years ago