openupm/openupm-cli

feat: support new search endpoint.

favoyang opened this issue ยท 2 comments

Example endpoint

curl -s https://package.openupm.com/-/v1/search?text=littlebigfun&size=20&from=0&quality=0.65&popularity=0.98&maintenance=0.5

Results

{
  "objects": [
    {
      "package": {
        "name": "com.littlebigfun.action-sender",
        "displayName": "Unity Action Sender",
        "description": "A type-safe replacement to SendMessage.",
        "dist-tags": {
          "latest": "1.0.0"
        },
        "maintainers": [
          {
            "name": "openupm",
            "email": "openupm"
          }
        ],
        "author": {
          "name": "Favo Yang",
          "url": "https://github.com/favoyang"
        },
        "repository": {
          "type": "git",
          "url": "git+https://github.com/favoyang/unity-action-sender.git"
        },
        "readmeFilename": "README.md",
        "homepage": "https://github.com/favoyang/unity-action-sender#readme",
        "bugs": {
          "url": "https://github.com/favoyang/unity-action-sender/issues"
        },
        "license": "MIT",
        "time": {
          "modified": "2020-04-19T06:20:02.792Z"
        },
        "versions": {
          "1.0.0": "latest"
        }
      },
      "flags": {},
      "score": {
        "final": 1,
        "detail": {
          "quality": 1,
          "popularity": 1,
          "maintenance": 0
        }
      },
      "searchScore": 100000
    },
    {
      "package": {
        "name": "com.littlebigfun.addressable-importer",
        "displayName": "Unity Addressable Importer",
        "description": "A simple rule based addressable asset importer.",
        "dist-tags": {
          "latest": "0.8.1"
        },
        "maintainers": [
          {
            "name": "openupm",
            "email": "openupm"
          }
        ],
        "author": {
          "name": "Favo Yang",
          "url": "https://github.com/favoyang"
        },
        "repository": {
          "type": "git",
          "url": "git+https://github.com/favoyang/unity-addressable-importer.git"
        },
        "readmeFilename": "README.md",
        "homepage": "https://github.com/favoyang/unity-addressable-importer#readme",
        "bugs": {
          "url": "https://github.com/favoyang/unity-addressable-importer/issues"
        },
        "license": "MIT",
        "time": {
          "modified": "2020-07-06T15:47:34.319Z"
        },
        "versions": {
          "0.8.1": "latest"
        }
      },
      "flags": {
        "unstable": true
      },
      "score": {
        "final": 1,
        "detail": {
          "quality": 1,
          "popularity": 1,
          "maintenance": 0
        }
      },
      "searchScore": 100000
    }
  ],
  "total": 2,
  "time": "Sun, 26 Jul 2020 16:40:24 GMT"
}

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.96. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

๐ŸŽ‰ This issue has been resolved in version 1.8.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€