Comparing version 0.0.6 to 0.0.7
@@ -11,3 +11,7 @@ const Conf = require("conf"); | ||
RF_APP_URL: "https://app.roboflow.com", | ||
RF_API_URL: "https://api.roboflow.com" | ||
RF_API_URL: "https://api.roboflow.com", | ||
RF_OBJECT_DETECTION_URL: "https://detect.roboflow.com", | ||
RF_CLASSIFICATION_URL: "https://classify.roboflow.com", | ||
RF_INSTANCE_SEGMENTATION_URL: "https://outline.roboflow.com", | ||
RF_SEMANTIC_SEGMENTATION_URL: "https://segment.roboflow.com" | ||
}; | ||
@@ -14,0 +18,0 @@ |
{ | ||
"name": "roboflow", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Roboflow.ai node module and CLI tools", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,27 +6,4 @@ # Roboflow node library | ||
**This project is under active development, use at your own risk** | ||
## Node Module | ||
The node module is currently a very basic wrapper around roboflow API endpoints. | ||
You can use it like so: | ||
``` | ||
const roboflow = require("roboflow"); | ||
const workspaceInfo = roboflow.getWorkspace(workspaceUrl, apiKey); | ||
``` | ||
It currently includes the following functions, which are implemented in [api.js](api.js): | ||
- `getWorkspace(workspaceUrl, apiKey)` | ||
- `getProject(workspaceUrl, projectUrl, apiKey)` | ||
- `getVersion(workspaceUrl, projectUrl, version, apiKey)` | ||
- `getFormat(workspaceUrl, projectUrl, version, format, apiKey)` | ||
- `uploadImage(filepath, projectUrl, apiKey, options)` | ||
- `detectObject(filepath, modelUrl, apiKey, options)` | ||
- `classify(filepath, modelUrl, apiKey)` | ||
- `instanceSegmentation(filepath, modelUrl, apiKey)` | ||
- `semanticSegmentation(filepath, modelUrl, apiKey)` | ||
## CLI tool | ||
@@ -33,0 +10,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
598
24798
55