$ npm install -g dav-cli
$ yarn global add dav-cli
dav-cli
):
34 |
35 | Command | 38 |Description | 39 |
---|---|
-V or --version |
42 | Output the version number | 43 |
-s or --version |
46 | Start a local Ethereum node | 47 |
-p or --port <n> |
50 | Port for Ethereum node to listen to | 51 |
--genkey <s> |
54 | Generate a private-public key pair for a new Identity | 55 |
-r or --register <s> |
58 | Register a new Identity on the blockchain | 59 |
-h or --help |
62 | Output usage information | 63 |
$ dav-cli --start
$ dav-cli --start --port 1234
$ dav-cli --genkey ~/.dav
$ dav-cli --register ~/.dav/0xd14e3aca4d62c8e7b150fc63dabb8fb4b3485263
197 | start_at
198 | optional
199 | |
200 | The time at which the requester would like to arrive at the parking space (if undefined, the arrival time will be ASAP). Specified as time in seconds since Epoch/Unix Time | 201 |
204 | end_at
205 | optional
206 | |
207 | The time at which the requester plans to leave the parking space. This parameter is optional but highly recommended, as it can affect how the service is priced. Specified as time in seconds since Epoch/Unix Time | 208 |
211 | latitude
212 | required
213 | |
214 | The latitude coordinate around which to search | 215 |
218 | longitude
219 | required
220 | |
221 | The longitude coordinate around which to search | 222 |
225 | radius
226 | required
227 | |
228 | Radius in meters around the search coordinates to limit the search to. Specified as an integer | 229 |
232 | height
233 | optional
234 | |
235 | The minimum height clearance that this vehicle requires from the parking space. Specified as an integer representing centimeters | 236 |
239 | width
240 | optional
241 | |
242 | The minimum width clearance that this vehicle requires from the parking space. Specified as an integer representing centimeters | 243 |
246 | length
247 | optional
248 | |
249 | The minimum length clearance that this vehicle requires from the parking space. Specified as an integer representing centimeters | 250 |
253 | weight
254 | optional
255 | |
256 | The weight of this vehicle. Parking spaces that cannot support a vehicle weighing this much should not respond. Specified as an integer representing kilograms | 257 |
260 | amenities
261 | optional
262 | |
263 | A list of amenities that need to be present at the parking space. Specified as a comma separated list of amenity IDs. See Amenities | 264 |
385 | need_id
386 | required
387 | |
388 | The unique identifier of the 'need' this bid is for. This ID arrives as part of the 'need' request | 389 |
392 | expires_at
393 | required
394 | |
395 | This bid will expire at this time. Specified as time in seconds since Epoch/Unix Time | 396 |
399 | price
400 | required
401 | |
402 | A comma separated list of prices. Each price is specified as an integer representing Vinci
403 | 1 DAV == 1e18 Vinci == 1000000000000000000 Vinci |
404 |
407 | price_type
408 | required
409 | |
410 | A list of price types describing the price parameter(s). Specified as a comma separated list. See Price Types for available values |
411 |
414 | price_description
415 | required
416 | |
417 | A comma separated list of strings describing the price parameter(s) in human readable terms |
418 |
421 | latitude
422 | required
423 | |
424 | The latitude coordinate of the parking space | 425 |
428 | longitude
429 | required
430 | |
431 | The longitude coordinate of the parking space | 432 |
435 | entrance_latitude
436 | optional
437 | |
438 | The latitude coordinate of the entrance to the parking space | 439 |
442 | entrance_longitude
443 | optional
444 | |
445 | The longitude coordinate of the entrance to the parking space | 446 |
449 | exit_latitude
450 | optional
451 | |
452 | The latitude coordinate of the exit from the parking space | 453 |
456 | exit_longitude
457 | optional
458 | |
459 | The longitude coordinate of the exit from the parking space | 460 |
463 | location_floor
464 | optional
465 | |
466 | Which floor/level is the parking space located on (for multistory buildings) | 467 |
470 | location_name
471 | optional
472 | |
473 | A human readable name/description of the parking space location (e.g., Long Island Central Parking Lot) | 474 |
477 | location_name_lang
478 | optional
479 | |
480 | The language used in location_name . Specified using the 3 letter ISO 639-3 language code |
481 |
484 | location_house_number
485 | optional
486 | |
487 | The house number where the parking space is located | 488 |
491 | location_street
492 | optional
493 | |
494 | The street name where the parking space is located | 495 |
498 | location_city
499 | optional
500 | |
501 | The city where the parking space is located | 502 |
505 | location_postal_code
506 | optional
507 | |
508 | The postal code where the parking space is located | 509 |
512 | location_county
513 | optional
514 | |
515 | The county where the parking space is located | 516 |
519 | location_state
520 | optional
521 | |
522 | The state where the parking space is located | 523 |
526 | location_country
527 | optional
528 | |
529 | The country where the parking space is located | 530 |
533 | available_from
534 | required
535 | |
536 | The time from which the parking space can be made available. Specified as time in seconds since Epoch/Unix Time | 537 |
540 | available_until
541 | required
542 | |
543 | The time until which the parking space can be made available. Specified as time in seconds since Epoch/Unix Time | 544 |
547 | height
548 | optional
549 | |
550 | The maximum vehicle height this parking space can accommodate. Specified as an integer representing centimeters | 551 |
554 | width
555 | optional
556 | |
557 | The maximum vehicle width this parking space can accommodate. Specified as an integer representing centimeters | 558 |
561 | length
562 | optional
563 | |
564 | The maximum vehicle length this parking space can accommodate. Specified as an integer representing centimeters | 565 |
568 | weight
569 | optional
570 | |
571 | The maximum vehicle weight this parking space can accommodate. Specified as an integer representing kilograms | 572 |
575 | amenities
576 | optional
577 | |
578 | A list of amenities that are present at this parking space. Specified as a comma separated list of amenity IDs. See Amenities | 579 |
Price Type | 589 |Description | 590 |
---|---|
second |
593 | Cost per second | 594 |
minute |
597 | Cost per minute | 598 |
hour |
601 | Cost per hour | 602 |
day |
605 | Cost per day | 606 |
week |
609 | Cost per week | 610 |
flat |
613 | The listed price is a flat price |
614 |
ID | 624 |Description | 625 |
---|---|
1 |
628 | Lodging | 629 |
2 |
632 | Dining | 633 |
3 |
636 | Restrooms | 637 |
4 |
640 | EV Charging | 641 |
5 |
644 | Valet Parking | 645 |
6 |
648 | WiFi | 649 |
7 |
652 | Shopping | 653 |
8 |
656 | Grocery | 657 |
195 | start_at
196 | optional
197 | |
198 | The earliest time at which the photo shoot can start (if undefined, photo shoot can start immediately). Specified as time in seconds since Epoch/Unix Time | 199 |
202 | end_at
203 | required
204 | |
205 | The latest time at which the photo shoot should end. Specified as time in seconds since Epoch/Unix Time | 206 |
209 | object_latitude
210 | required
211 | |
212 | The latitude coordinate of the object that needs to be photographed | 213 |
216 | object_longitude
217 | required
218 | |
219 | The longitude coordinate of the object that needs to be photographed | 220 |
223 | object_altitude
224 | required
225 | |
226 | The altitude of the object that needs to be photographed. Specified as meters above sea level. For example, if the object is located 50 meters above sea level, the object_altitude will be 50 |
227 |
230 | azimuth_angle
231 | required
232 | |
233 | The horizontal angle of the camera pointing at the object. Specified as an integer representing degrees. For example, if the camera should be directly south of the photographed object, the azimuth_angle will be 0 |
234 |
237 | elevation_angle
238 | required
239 | |
240 | The vertical angle of the camera pointing at the object. Specified as an integer representing degrees, positive above the horizon, and negative below the horizon. For example, to photograph a rooftop from above, the elevation_angle might be -90 |
241 |
244 | distance
245 | required
246 | |
247 | The distance of the camera from the photographed object. Specified as an integer representing meters | 248 |
251 | min_resolution
252 | optional
253 | |
254 | The minimum required dimensions for the photos. Specified as integers representing pixels, in a comma separated list of two integers (e.g., 1366,768 for HD photos) |
255 |
322 | need_id
323 | required
324 | |
325 | The unique identifier of the 'need' this bid is for. This ID arrives as part of the 'need' request | 326 |
329 | expires_at
330 | required
331 | |
332 | This bid will expire at this time. Specified as time in seconds since Epoch/Unix Time | 333 |
336 | price
337 | required
338 | |
339 | A comma separated list of prices. Each price is specified as an integer representing Vinci
340 | 1 DAV == 1e18 Vinci == 1000000000000000000 Vinci |
341 |
344 | price_type
345 | required
346 | |
347 | A list of price types describing the price parameter(s). Specified as a comma separated list. Currently the only supported price type is flat |
348 |
351 | price_description
352 | required
353 | |
354 | A comma separated list of strings describing the price parameter(s) in human readable terms |
355 |
358 | eta
359 | required
360 | |
361 | The estimated time of arrival at the photo shoot location. Specified as time in seconds since Epoch/Unix Time | 362 |
365 | camera_model
366 | required
367 | |
368 | A human readable name/description of the camera used for the photo shooting (e.g., DJI ZENMUSE X5S ) |
369 |
372 | photo_resolution
373 | required
374 | |
375 | The dimensions of the photos that will be taken. Specified as integers representing pixels, in a comma separated list of two integers (e.g., 1366,768 for HD photos) |
376 |
379 | camera_operator
380 | required
381 | |
382 | The operator of the camera during the photo shoot (e.g., human , drone ) See full list of options here |
383 |
387 | operator_model
388 | optional
389 | |
390 | A human readable name/description of the vehicle that may be used to carry the camera and perform the photo shoot (e.g., DJI Matrice 210 ) |
391 |
Camera Operator | 401 |Description | 402 |
---|---|
handheld |
405 | Good ol' human photographer | 406 |
uav |
409 | Unmanned aerial vehicle, commonly known as a drone. An aircraft without a human pilot aboard | 410 |
usv |
413 | Unmanned surface vehicle. A vehicle that operates on the surface of the water (watercraft) without a crew 414 | | 415 |
uuv |
418 | Unmanned underwater vehicle, sometimes known as underwater drones. Any vehicles that are able to operate underwater without a human occupant 419 | | 420 |
ugv |
423 | Unmanned ground vehicle. A vehicle that operates while in contact with the ground and without an on board human presence 424 | | 425 |
183 | start_at
184 | optional
185 | |
186 | 187 | The time at which the requester would like to start the trip (if undefined, start time will be set by the route planner). This should be Specified as time in seconds since Epoch/Unix Time 188 | | 189 |
192 | start_latitude
193 | required
194 | |
195 | The latitude coordinate of the starting point, from where the vehicle plans to start the trip | 196 |
199 | start_longitude
200 | required
201 | |
202 | The longitude coordinate of the starting point, from where the vehicle plans start the trip | 203 |
206 | end_latitude
207 | required
208 | |
209 | The latitude coordinate of the ending point, where the vehicle plans end the trip | 210 |
213 | end_longitude
214 | required
215 | |
216 | The longitude coordinate of the ending point, where the vehicle plans end the trip | 217 |
220 | vehicle_type
221 | required
222 | |
223 | The type of vehicle used for the trip. See full list of options here 224 | | 225 |
228 | max_altitude
229 | optional
230 | |
231 | In case the vehicle is a drone, max_altitude represents the maximum reachable altitude of the drone. Specified as an integer representing meters
232 | |
233 |
236 | height
237 | optional
238 | |
239 | The height of the vehicle. Specified as an integer representing centimeters | 240 |
243 | width
244 | optional
245 | |
246 | The width of the vehicle. Specified as an integer representing centimeters | 247 |
250 | length
251 | optional
252 | |
253 | The length of the vehicle. Specified as an integer representing centimeters | 254 |
257 | weight
258 | optional
259 | |
260 | The weight of the vehicle. Specified as an integer representing kilograms | 261 |
316 | need_id
317 | required
318 | |
319 | The unique identifier of the 'need' this bid is for. This ID arrives as part of the 'need' request | 320 |
323 | expires_at
324 | required
325 | |
326 | This bid will expire at this time. Specified as time in seconds since Epoch/Unix Time | 327 |
330 | price
331 | required
332 | |
333 | A comma separated list of prices. Each price is specified as an integer representing Vinci
334 | 1 DAV == 1e18 Vinci == 1000000000000000000 Vinci |
335 |
338 | price_type
339 | required
340 | |
341 | A list of price types describing the price parameter(s). Specified as a comma separated list. See Price Types for available values |
342 |
345 | price_description
346 | required
347 | |
348 | A comma separated list of strings describing the price parameter(s) in human readable terms |
349 |
352 | eta
353 | required
354 | |
355 | The estimated time of when the route plan will be delivered. Specified as time in seconds since Epoch/Unix Time | 356 |
Vehicle Type | 366 |
---|
drone |
369 |
car |
372 |
truck |
375 |
van |
378 |
ship |
381 |
robot |
384 |
bike |
387 |
Price Type | 397 |Description | 398 |
---|---|
km |
401 | The listed price is per km |
402 |
mile |
405 | The listed price is per mile |
406 |
flat |
409 | The listed price is a flat price |
410 |
189 | last_latitude
190 | required
191 | |
192 | The last recorded latitude coordinate of the lost vehicle | 193 |
196 | last_longitude
197 | required
198 | |
199 | The last recorded longitude coordinate of the lost vehicle | 200 |
203 | vehicle_type
204 | required
205 | |
206 | The type of vehicle that was lost. See full list of options here | 207 |
211 | vehicle_manufacturer
212 | required
213 | |
214 | Name of the manufacturer of the lost vehicle | 215 |
218 | vehicle_model
219 | required
220 | |
221 | Name of the model of the lost vehicle | 222 |
225 | vehicle_color
226 | optional
227 | |
228 | The color of the lost vehicle | 229 |
232 | vehicle_license_number
233 | optional
234 | |
235 | The license plate number of the lost vehicle | 236 |
239 | vehicle_contact
240 | optional
241 | |
242 | Human readable information regarding the lost vehicle (e.g., Vehicle owner: James McGill, mobile: 555-338-5943 ) |
243 |
317 | need_id
318 | required
319 | |
320 | The unique identifier of the 'need' this bid is for. This ID arrives as part of the 'need' request | 321 |
324 | expires_at
325 | required
326 | |
327 | This bid will expire at this time. Specified as time in seconds since Epoch/Unix Time | 328 |
331 | price
332 | required
333 | |
334 | A comma separated list of prices. Each price is specified as an integer representing Vinci
335 | 1 DAV == 1e18 Vinci == 1000000000000000000 Vinci |
336 |
339 | price_type
340 | required
341 | |
342 | A list of price types describing the price parameter(s). Specified as a comma separated list. See Price Types for available values |
343 |
346 | price_description
347 | required
348 | |
349 | A comma separated list of strings describing the price parameter(s) in human readable terms |
350 |
353 | current_latitude
354 | required
355 | |
356 | The latitude coordinate of of where the vehicle is currently located | 357 |
360 | current_longitude
361 | required
362 | |
363 | The longitude coordinate of where the vehicle is currently located | 364 |
367 | arrival_at
368 | required
369 | |
370 | The estimated time of arrival at the location where the lost vehicle was last seen. Specified as time in seconds since Epoch/Unix Time | 371 |
374 | vehicle_type
375 | required
376 | |
377 | The type of vehicle used for the locating mission. See full list of options here 378 | | 379 |
382 | vehicle_manufacturer
383 | optional
384 | |
385 | Name of the manufacturer of the vehicle | 386 |
389 | vehicle_model
390 | optional
391 | |
392 | Name of the model of the vehicle | 393 |
396 | vehicle_contact
397 | optional
398 | |
399 | Human readable information regarding the vehicle (e.g James McGill, mobile: 555-338-5943 ) |
400 |
Vehicle Type | 410 |
---|
drone |
413 |
car |
416 |
truck |
419 |
van |
422 |
ship |
425 |
robot |
428 |
bike |
431 |
Price Type | 441 |Description | 442 |
---|---|
second |
445 | Cost per second | 446 |
minute |
449 | Cost per minute | 450 |
hour |
453 | Cost per hour | 454 |
day |
457 | Cost per day | 458 |
week |
461 | Cost per week | 462 |
km |
465 | Cost per km | 466 |
mile |
469 | Cost per mile | 470 |
flat |
473 | The listed price is a flat price |
474 |
95 | location
96 | required
97 | |
98 | The coordinates around which to search | 99 |
102 | radius
103 | required
104 | |
105 | Radius in meters around the coordinates in which to listen for bids. Specified as an integer | 106 |
109 | startAt
110 | optional
111 | |
112 | The time at which the requester would like to arrive at charger (if undefined, the arrival time will be ASAP). Specified as time in seconds since Epoch/Unix Time | 113 |
116 | dimensions
117 | optional
118 | |
119 | The minimum length, width, and height clearance that this vessel requires from the charger. Specified as an object containing integers representing centimeters | 120 |
123 | weight
124 | optional
125 | |
126 | The weight of this vessel. Specified as an integer representing grams | 127 |
130 | batteryCapacity
131 | optional
132 | |
133 | The vessel's total battery capacity, specified in kWh | 134 |
137 | currentBatteryCharge
138 | optional
139 | |
140 | The vessel's current battery charge level, as it was at the time the request was sent. Specified as an integer denoting percentage of full capacity | 141 |
144 | energySource
145 | optional
146 | |
147 | Limit the request to only receive bids from chargers using a specific source of energy. Specified as an energy source id. See Energy Sources | 148 |
151 | amenities
152 | optional
153 | |
154 | A list of amenities that need to be present at charging station. Specified as an array of amenity ids. See Amenities | 155 |
215 | location
216 | required
217 | |
218 | The coordinates around which to listen for bids | 219 |
222 | radius
223 | required
224 | |
225 | Radius in meters around the coordinates in which to listen for bids. Specified as an integer | 226 |
229 | maxDimensions
230 | optional
231 | |
232 | The maximum length, width, and height clearance that this charger can accomodate. Specified as an object containing integers representing centimeters | 233 |
318 | ttl
319 | optional
320 | |
321 | This bid will expire at this time. Specified as time in seconds since Epoch/Unix Time | 322 |
325 | price
326 | required
327 | |
328 | A single price or an array containing prices. If an array is given, all the prices will be charged (e.g., a price per kWh plus a flat rate tax). Each price is specified as either an string representing Vinci, or a price object containing amount, price type, and an optional description
329 | 1 DAV == 1e18 Vinci == 1000000000000000000 Vinci |
330 |
333 | entranceLocation
334 | optional
335 | |
336 | The coordinates of the charger entrance | 337 |
340 | exitLocation
341 | optional
342 | |
343 | The coordinates of the exit from to the charger | 344 |
347 | locationName
348 | optional
349 | |
350 | A human readable name/description of the charger location (e.g., Cal Maritime Dock C) | 351 |
354 | locationNameLang
355 | optional
356 | |
357 | The language used in location_name . Specified using the 3 letter ISO 639-3 language code |
358 |
361 | locationHouseNumber
362 | optional
363 | |
364 | The house number where the station is located | 365 |
368 | locationStreet
369 | optional
370 | |
371 | The street name where the station is located | 372 |
375 | locationCity
376 | optional
377 | |
378 | The city where the station is located | 379 |
382 | locationPostalCode
383 | optional
384 | |
385 | The postal code where the station is located | 386 |
389 | locationCounty
390 | optional
391 | |
392 | The county where the charger is located | 393 |
396 | locationState
397 | optional
398 | |
399 | The state where the charger is located | 400 |
403 | locationCountry
404 | optional
405 | |
406 | The country where the charger is located | 407 |
410 | availableFrom
411 | required
412 | |
413 | The time from which the charger can be made available for the vessel requesting a charge. Specified as time in seconds since Epoch/Unix Time | 414 |
417 | availableUntil
418 | optional
419 | |
420 | The time until which the charger can be made available for the vessel requesting a charge. Specified as time in seconds since Epoch/Unix Time | 421 |
424 | energySource
425 | optional
426 | |
427 | The source of the energy used by this charger. Specified as an energy source id. See Energy Sources | 428 |
431 | amenities
432 | optional
433 | |
434 | A list of amenities that are present at this charger. Specified as an array of amenity ids. See Amenities | 435 |
438 | provider
439 | optional
440 | |
441 | Name of the service provider or charging network operating this charger | 442 |
445 | manufacturer
446 | optional
447 | |
448 | Name of the manufacturer of this charger | 449 |
452 | model
453 | optional
454 | |
455 | Name of the model of this charger | 456 |
None | 482 |
None | 508 |
538 | chargeCompletionEstimatedTime
539 | optional
540 | |
541 | The estimated time at which charging will be complete. Specified as time in seconds since Epoch/Unix Time | 542 |
578 | location
579 | optional
580 | |
581 | The current coordinates of the vehicle's location | 582 |
None | 608 |
None | 634 |
None | 662 |
Level | 672 |Description | 673 |
---|---|
grid |
676 | Connected to the electrical grid and using an unspecified energy source, or an unspecified mix of energy source | 677 |
renewable |
680 | Uses 100% renewable energy of an unspecified source, or a mix of different renewable energy sources | 681 |
solar |
684 | Uses 100% solar energy | 685 |
wind |
688 | Uses 100% wind energy | 689 |
hydro |
692 | Uses 100% hydro power energy | 693 |
geothermal |
696 | Uses 100% geothermal energy | 697 |
ID | 707 |Description | 708 |
---|---|
1 |
711 | Lodging | 712 |
2 |
715 | Dining | 716 |
3 |
719 | Restrooms | 720 |
4 |
723 | Docking | 724 |
5 |
727 | Park | 728 |
6 |
731 | WiFi | 732 |
7 |
735 | Shopping | 736 |
8 |
739 | Grocery | 740 |
Price Type | 750 |Description | 751 |
---|---|
kwh |
754 | Cost per kWh | 755 |
second |
758 | Cost per second | 759 |
minute |
762 | Cost per minute | 763 |
hour |
766 | Cost per hour | 767 |
day |
770 | Cost per day | 771 |
week |
774 | Cost per week | 775 |
flat |
778 | The listed price is a flat price |
779 |