2.0.0-alpha.28 • Published 2 months ago

@ulixee/cli v2.0.0-alpha.28

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

About Ulixee

Ulixee is a data platform allowing easy integration of all the world's live datasets into your apps.

You are connecting to a decentralized network run by computers around the world to help harvest and translate data from websites and databases. The Cli will get you started to integrate live data into your project.

A CLI's Purpose

This CLI helps you setup a new project and connect datasets. It will also help you connect to a Sidechain to perform transactional operations or create new addresses.

Commands:

  • refresh options -- Refresh public node info
  • sidechain:balance options -- Get the balance associated with this address
  • sidechain:transfer options -- Transfer centagons from the given keyring address to the provided hex address
  • add options -- Install a dataset (alias: install)
  • onramp:setup options -- Re-run the onramp setup
  • serve port - Run a REST bridge for the Ulixee network

If you don't run any commands, you will be prompted with a wizard that can perform the above commands as well as a few others.

REST Bridge

The bridge provides access to the Ulixee network via simple Http calls.

To launch the rest bridge, run the following from your project directory containing a ulixee-lock.json file.

$ ulixee serve 1818

Data queries can be performed using simple REST commands with JSON bodies.

curl
curl -X POST \
  http://localhost:1818/Data.query \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
	"datasetUri": "restaurants.availability:resy.com",
	"fields": "localDateTime",
	"params": {
		"localDate":"2019-10-23",
		"slug":"cities/atl/miller-union"
	}
}'
python
import requests

url = "http://localhost:1818/Data.query"

query_json = {
   'datasetUri': 'restaurants.availability:resy.com',
   'params': {
      'localDate': '2019-11-01',
      'slug': 'cities/sf/uma-casa',
      'seatCount': 2
   },
   'fields': 'localDateTime,bookingUrl',
   'maxTimeInCacheSecs': 30
}

response = requests.post(query_url, json=query_json)

print response.json()
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

8 months ago

2.0.0-alpha.24

10 months ago

2.0.0-alpha.23

11 months ago

2.0.0-alpha.22

11 months ago

2.0.0-alpha.21

1 year ago

2.0.0-alpha.19

1 year ago

2.0.0-alpha.18

1 year ago

2.0.0-alpha.17

1 year ago

2.0.0-alpha.16

1 year ago

2.0.0-alpha.15

2 years ago

2.0.0-alpha.14

2 years ago

2.0.0-alpha.13

2 years ago

2.0.0-alpha.12

2 years ago

2.0.0-alpha.11

2 years ago

2.0.0-alpha.10

2 years ago

2.0.0-alpha.7

2 years ago

2.0.0-alpha.8

2 years ago

2.0.0-alpha.9

2 years ago

2.0.0-alpha.5

2 years ago

2.0.0-alpha.6

2 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago